Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - What are the difference between Structure and Class?
Blog
 
# Wednesday, July 08, 2009

The primary difference is that a structure is value data type and class is the reference data type.

Structure don't have default constructur or destructors.

In Structure all variable and method is public where as in class it is private by default.

Structure does not have inherit

Wednesday, July 08, 2009 7:46:06 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   Interview Question C#  | 
Comments are closed.
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: