What are the differences between Classes and Structures?

Monday, July 13, 2009
































Sno Class Structure
1 Reference Type Value Type
2 Stored in heap Stored in stack
3 Inheritance is available Not
4 Protected Modifier is allowed Not
5 Construtor is mandatory Not
5 Objects are destroyed in GC Not


 

0 comments

Post a Comment

www.codecollege.NET

Blog Widget by LinkWithin