- Automatic properties (so I don't have to manually create private variables to hold the values of my properties but still have the benefits of properties over public fields).
- Collection initializers (so I can set properties inline with the call to the constructor).
http://weblogs.asp.net/scottgu/archive/2007/03/08/new-c-orcas-language-features-automatic-properties-object-initializers-and-collection-initializers.aspx
No comments:
Post a Comment