This blog post is part of C# 6.0 Features Series.As we all know C# 6.0 is there in preview mode and Microsoft has added few small features to C# 6.0 which helps lot while you develop application. In today’s blog post we are going to learn one more small feature called “Auto implemented property initializers”.
Developers working on C# used a automatic properties a lot and there has been lot of demands from developers that automatic properties should a have initializers and Microsoft has listened to that feedback and with C# 6.0 it has been introduced. So now we don’t have to use constructors to initialize automatic properties and there will be less and much cleaner code for Automatic property initializations.