| Structure | Classes |
1 | Can have constructors, methods, properties, fields, constants, enumerations, events, and event handlers. | Same here |
2 | Can implement interface. | Same here |
3 | Can have delegates and events. | Same here |
4 | Both require a constructor to create a new instance of themselves | Same here |
5 | Are value types stored on the stack | Are reference types stored in the heap |
6 | Do not support Inheritance, but can implement Interface | Can do both |
7 | We cannot declare a Default-Constructure (No Argument Constructor), even if there are parameterized constructors. | No problems |
8 | GC is not used to collect objects. | GC is used. |
Thanks & Regards,
Arun Manglick
SMTS || Microsoft Technology Practice || Bridgestone - Tyre Link || Persistent Systems || 3023-6258
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
Test Comment
ReplyDelete