C#

More C# 7 goodness - Span of T - Span<T>

Introduction With C# 7.2 we got a new type: Span&lt;T&gt;. So, what is Span? Span is a new value type that enables us to work and manage any type that represents a contiguous chunk of...

C# 7.1 - New features

Introduction In some of the previous posts we talked about new features in C# 7 and we talked about the usage of nameof expression in C#. In this post, we will talk about new features...

C# 7 - reference returns & local references

Introduction In on of the last posts, we talked about some of the big features that came with C# 7. In this post, we will continue on that and we will talk about returning references...

C# 7 - new features

C# 7 - new features. Tuples. Deconstruction with tuples. Deconstruction with types. Local functions, Throw expressions, out variables and much more.

nameof expression is amazing! Say NO to magic strings!

nameof usages. Use it to validate parameters, inside of Actions, Views, Attributes and other! Avoid magic strings, use nameof expression!