C# Automatic Properties: Semantic changes to help cope with poor syntax?

Steve Eichert and Bart de Smet both posted last November about a new C# feature: Automatic Properties. The language enhancement will convert code like this in a class definition: public string MyProperty { get; set; }  Into something like this: private string myProperty;public string MyProperty{ get{return myProperty;} set{myProperty = value;}} I've got to admit that... Continue Reading →


Create a website or blog at WordPress.com

Up ↑