By jamesling
via digcode.com
Published: Jun 24 2008 / 15:00
Like class, structs represent data structures that can contain data members and method members. Unlike classes, structs are value types and do not require heap allocation. A variable of a struct type directly contains the data of the struct, whereas a variable of a class type contains a reference to the data.
Add your comment