C# features

Since version 3.0 of C# some features that make writing classes and common methods simpler and concise have introduced. In this post we talk about automatic properties and object initializers. AUTOMATIC PROPERTIES The automatic properties (or auto-implemented properties) are nothing more than a compact syntax for writing the properties of a class. They allow you to write code like 123public String name {get; set;} public DateTime birthday {get; set;} that will b...

Read more