January 2011
Intermediate to advanced
1648 pages
70h 30m
English
C# 3.0 introduced a feature called auto-implemented properties to reduce the “syntactic ceremony” involved in creating “simple properties” that are nothing but smart fields. Instead of having to declare the backing field and a property accessing that field manually, the following syntax takes care of it all:

The preceding code is turned into this equivalent:

Although the accessibility of the generated get and set accessor ...
Read now
Unlock full access