It’s time to sum up all C# 6 features. Here is a list of all goodness with short examples implemented and tested in Visual Studio 2015. nameof String interpolation Null-conditional (?. and ?) and null-coalescing (??) operators Index initializers Extension methods visible in collection initializers Exception filters Auto-property initializers Expression-bodied […]
Expression bodied functions were created to provide simplified syntax for cases where implementation is straightforward. They improve C# code readability significantly.
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.