Index initializers
This is one of a series of posts on some of the new features in C# 6.0, which was just released. When Linq was added, a number of cool side-features ended up being added as well–these were things that were …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. When Linq was added, a number of cool side-features ended up being added as well–these were things that were …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. In C# there is a very handy expression – typeof – that returns the Type of an object. For …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. The ability to format strings in .NET is straightforward, and fairly powerful (ignore the line breaks): string value = …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. When catching exceptions in code, you can have a different catch block for different types of exceptions: try { …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. Expression bodies let you use lambda-style expression declarations for methods and properties. So, instead of: public int Add(int x, …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. I had to be careful about naming this one because just calling it “using static” implies a different topic! …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. Auto-properties were added some time ago. An auto-property lets you define a property without a backing field: public string …
This is one of a series of posts on some of the new features in C# 6.0, which was just released. Null-conditional member access is a great new feature that, I think, will help make code more bullet-proof and easier …
VS 2015 is now available for download from MSDN! Probably the biggest things about this release are the new Roslyn compiler and the fact that much of .NET is now officially open source! Aside from giving the .NET team a …