-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: prasanth
Message 3 in Discussion

 Regarding your query, a struct type is a value type that can contain constructors, 
constants, fields,  methods, properties, indexers, operators, events, and nested 
types. When you create a struct object  using the new operator, it gets created and 
the appropriate constructor is called. Unlike classes, structs  can be instantiated 
without using the new operator. If you do not use new, the fields will remain 
unassigned  and the object cannot be used until all of the fields are initialized.   
There is no inheritance for structs as there is for classes. A struct cannot inherit 
from another struct or class,  and it cannot be the base of a class. Structs, however, 
inherit from the base class Object. A struct can implement  interfaces, and it does 
that exactly as classes do.   Unlike C++, you cannot declare a class using the keyword 
struct. In C#, classes and structs are semantically  different. A struct is a value 
type, while a class is a reference type.   Hope that makes it clear. Please do let me 
know if you require and further information on this.   Regards, Vishnu prasath.

-----------------------------------------------------------

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]

Reply via email to