Auto-property initializers - C# 6 Language New features

After release of C# 6 I feel, I took the right decision to choose C#. C# 6 have a bright future, then the other programming languages. Microsoft is continuously improving C# with new features and improved on every release. This time Instead of introducing new features Microsoft had improved existing features of C#. You can get a complete list of new features of C# 6 from Roslyn GitHub page. In this article I am going to show one of the new feature of C# 6.0 "Auto property initializers". We'll see what the improve Auto property with initializers.

Take a simple example of class where I declared two properties. If I want to set the value of properties, then I have to declare constructor of a class, and using constructor I have to set values. However In reading application you have set values using constructor parameters.