C# v6 Features–Nameof Operator
CAVEAT: This is pre-release and subject to change. One of the cool new features coming in C# v6 is the nameof operator. This handy little operator solves a common code smell, string literals for programmatic items. Let’s take a simple example. static void Foo ( string value ) { if (value == null) throw new… Continue reading C# v6 Features–Nameof Operator