----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: VaibhavModak Message 2 in Discussion Hi Jigs, This is what I got from MSDN. . . Class A reference type that encapsulates data (constants and fields) and behavior (methods, properties, indexers, events, operators, instance constructors, static constructors, and destructors), and can contain nested types. Class types support inheritance, a mechanism whereby a derived class can extend and specialize a base class. Component In the .NET Framework, a component is a class that implements the System.ComponentModel.IComponent interface or that derives directly or indirectly from a class that implements IComponent. In programming, the term component is generally used for an object that is reusable and can interact with other objects. A .NET Framework component satisfies those general requirements and additionally provides features such as control over external resources and design-time support. So in short we can say that a class is the first level in the hierarchy and you can create a class as a base for the system. After that for creating the structure of the system, you can create Class(es) Components Controls Again this decision will depend on what kind of application you system requires: Class using external resources but not to be used on a design surface Class to be used on a design surface So depending on these you need to create the code as designable classes (which can be components) or controls. Check this article from MSDN for more details. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconclassvscomponentvscontrol.asp Let me know if this solves your doubts... HTH, Regards, Vaibhav Modak ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
