Category: Programming

Exception filters

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 {

Tagged with: ,

Expression bodies on properties and methods

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,

Tagged with: ,

The “using static” statement

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!

Tagged with: ,

Auto-property initializers

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

Tagged with: ,

Null-conditional operator

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

Tagged with: ,

Visual Studio 2015, .NET 4.6, C# 6.0 Released

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

Tagged with: , ,
Top