nameof


C# 7.0 – Local functions

There are situations when one needs a small helper method, but it’s not quite obvious where to put it. The method might not be generic enough to expose it as a new entity or even as a class member.


All C# 6 features with short examples

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 […]


C# 6 features – nameof 1

Recent release of C# 6 and Visual Studio 2015 introduced many useful features. I’ll try do describe all of them. The first for today is support for nameof expressions.