Inside Visual Studio 2015 Preview – What’s New in C# 6.0

I can’t say right now how many features I’ll be using in the latest preview version of Visual Studio 2015, but that shouldn’t prevent you from installing the free download and giving it a try for yourself. Since Visual Studio 2015 Preview and .NET 4.6 Preview are for testing and feedback purposes only, Microsoft recommends installing it on a virtual machine or on a computer that is available for frequent reformatting. You can download Visual Studio 2015 Preview and .NET 4.6 Preview from here.

You can get detailed information on the C# changes from this great article published by Michael Crump. He gives us some great information (and examples) on some of the features we see coming in the next great Visual Studio release.

Make sure you have downloaded the Visual Studio 2015 Preview, and create a new C# Console Application as shown below. Don’t worry about changing the .NET Framework version number.

Custom Windows Layouts

One thing to note is that by default you will be writing in C# 6.0. If you ever need to change this, simply go to the project properties and click “Build” then “Advanced“. You can change the language version to whatever you want as indicated below.

Custom Windows Layouts

Since we are going to be writing C# 6.0, you can leave this setting at “default” or manually select “C# 6.0″ to follow along with this tutorial.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s