How to Change the C# Language Version to Build in Visual Studio 2015 ?

By default , when you create an application(Windows Phone / Windows Forms/Desktop application) in Visual Studio 2015 , it uses the C# as the language . If you are not using any of the new language enhancements or features of C# 6.0 , You can change the C# language version .

How to Change the C# Language Version to Build in Visual Studio 2015 ?

To change the # language version to build in Visual Studio 2015 , follow the below steps.

1. Right click on the project in the Visual Studio 2015 solution explorer and select properties.

image

2.  In the Project’s properties screen , select , BUILD from the left sidebar and click the “Advanced” button in the bottom of the “BUILD” screen.

image

3. In the “Advanced Build Settings” screen , select the language version that you want to target. and click “OK” to save.

image

4. You can now build the project and start using the features of the selected C# version.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Do you want to hide the start page in Microsoft Visual Studio 2012 within few simple steps? Here we go....
DataTip is a feature in Visual Studio that provides the users an easy way to view information about variables used...
Today, when I was trying to install the Team Foundation Server (TFS) Power Tools 2013, I received an error “The...