C# 6 features – Static using

One more C# 6 syntactic sugar feature is static using.  The feature eliminate explicit reference to the type when invoking a static method.


C# 6 features – Exception filters

Exception filters were already available in Visual Basic and F#, but not in C#. Recent release of C# 6 makes it equal. Below is example of exception filters syntax in C# 6. try { // do something dangerous } catch (Exception e) when (MyFilter(e)) { // action } If the […]