By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,663 Members | 762 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,663 IT Pros & Developers. It's quick & easy.

Class vs, Module

P: n/a


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!
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
www.dotnetwire.com
"Amy Snyder" <am**@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...


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!

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.