Introduction With C# 7.2 we got a new type: Span<T>. 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 memory. As Mads Torgersen has put it: Span is a window onto an existing chunk of memory. For instance a chunk […]
Continue readingIntroduction 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 that came with C# 7.1. For you to be able to use C# 7.1 features you need to have Visual […]
Continue readingIntroduction 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 from functions and storing references inside of local variables. In addition to existing feature where you can pass in the […]
Continue readingIntroduction C# is a powerful object-oriented language that is very easy to pick-up. The syntax is so simple but there are so many powerful and great features in C#. Some of the amazing features are lambdas, LINQ, generics, interfaces, async/await. They are all powerful concepts and it is a delight to use them with C#. […]
Continue readingThe nameof expression This is one of many goodies that came with C# 6.0. That was back in July 2015. I have been using nameof for quite a while now, but at the start, I wasn’t really aware of its full potential! Oh, what a sinner! Yes, you also probably heard about it. You probably even […]
Continue reading