Chapter 11. Fields, Properties, and Indexers

Having covered the code aspect of types by looking at methods in Chapter 10, “Methods,” we can now move on to the data aspect of types. Fields are containers for data that’s part of a type or its instances. We now discuss how to declare ...

Get C# 5.0 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.