C# 6 new features: Auto assigning property.
C# 6 new features : Auto assigning property. We have lots of new features and keyword added in C# 6 but among those new property auto assigning property is one of them . So here we will discuss on this particular features only. You can get this features in visual studio 2015 or higher version of Visual studio .Auto assigning property means we can set the values of property while we will declare the property. Before C# 6.0 we assigning the values to the property usually by declaring a constructor. So to improve the coding productivity the Microsoft Team added this new features in C# 6.0 .But one thing I just want to tell you that in both the cases we will get the same values but the way of initializing will be different. So lets take an exam...