C# 7.0 – Throw Expressions

Before C# 7.0 it was not possible to throw an exception directly in expression-bodied members. The workaround was to call a method that throws an exception.

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.