November 2012
Intermediate to advanced
544 pages
12h 3m
English
In the last few hours, you have been introduced to the basics of how types in C# work, including the predefined types and nullable types, and how classes in C# provide language syntax for object-oriented programming. You also saw how classes enable you to create your own types to represent real-world data. There are still two classifications of value types in C# that we have not talked about: the enumerated type and the structure.
Although classes are the primary mechanism you use to create new types, they do not provide a way to create types that are restricted in value nor do they enable you to create new value types. ...