String interpolation in C# 6

This is the eighth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). This is another really nice piece of syntactic sugar that makes the code more readable and less error prone. Very simply, this appears to be […]

Null-conditional operators in C# 6

This is the seventh part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). I’m going to come straight out and say that this is my favourite new language feature in C# 6. It’s going to get used a […]

Expression-bodied members in C# 6

This is the sixth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). Back to the syntactic sugar updates this time, but again, I think this will be used a lot once it gets out in the wild. […]

Await in catch and finally blocks in C# 6

This is the fifth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This is definitely not syntactic sugar and if you’re doing any asynchronous programming you’ll be very pleased with this new feature. I was toying with not posting about it as the name is very descriptive […]

Exception filters in C# 6

This is the fourth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. I must admit, I didn’t initially understand the fuss with exception filters. I saw a few tweets from along the lines of “finally, C# gets exception filters like VB.NET and F#” but didn’t understand the […]

Index Initializers in C# 6

This is the third part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This is another syntactic sugar feature, this time making initializing objects with indexers more elegant. Most of the examples I’ve seen are using it on Dictionary<Tkey, Tvalue>, for example: Not a massive change and I […]

Static Members in C# 6

This is the second part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This feature definitely fits in the syntactic sugar category and will should result in less typing as it allows you to drop the class prefix from any static members. For example, by changing “using System.Math” […]

Auto-Property Changes in C# 6

This is the first part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. In this post, I’m looking at the Auto-Property changes in C# 6. It’s probably going to be one of the larger posts as it covers 3 new language features: Auto-property Initializers Getter-only Auto-Properties Constructor assignment […]

Upcoming Language Feature Changes in C# 6

If you’re a C# programmer and haven’t been living in a cave, you’ll know big changes are coming. Now the Visual Studio 2015 Release Candidate is available to download, I figured it was a good time to jump on board and see what all the fuss is about. Visual Studio 2015 isn’t just an IDE […]