Clear collection initialization is possible only thanks to collection initializers. It’s syntax suger for calling ‘Add’ method.
A short one this time. You probably have seen object initializers. In C# 6 it’s extended to support indexing.
Have you though about starting open source C# project but didn’t know how? Let me show you a GitHub kick starter.
Don’t you have a feeling that sometimes C# code goes too much in null-checking? Yep, me too. But there are few C# 6 null-conditional operators that change it for good.
This article is part of series about C# 6 features. Let focus on string interpolation this time. It’s one of the new C# features that will for sure affect the way you write C# code.