Class vs, Module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amy Snyder

    Class vs, Module



    This is probably an easy question. I am creating a web application
    using VS 2003 and was wondering what the differnce is between creating a
    Class or Module. These are two templates available when adding a new
    item to a current web app.

    Why would you use one over the other?

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Manohar Kamath

    #2
    Re: Class vs, Module

    A class represents something real or abstract (say car, person, employee,
    etc.). A module (if you are working on Visual Basic.net), is a set of
    procedures. If you want to be truly object oriented, create a class, and add
    related methods.

    --
    Manohar Kamath
    Editor, .netWire



    "Amy Snyder" <amys@yahoo.com > wrote in message
    news:%23fBuxjx% 23EHA.1936@TK2M SFTNGP10.phx.gb l...[color=blue]
    >
    >
    > This is probably an easy question. I am creating a web application
    > using VS 2003 and was wondering what the differnce is between creating a
    > Class or Module. These are two templates available when adding a new
    > item to a current web app.
    >
    > Why would you use one over the other?
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it![/color]


    Comment

    Working...