How to change Language Version from C# 6.0 in Visual Studio 2015 ?

Published on June 22, 2016 by abundantcode

Filed under Visual Studio

Last modified June 22, 2016

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 2 (1 votes)

This article have been viewed 2674 times

There are times when you are developing .NET Project in Visual Studio 2015 with C# 6.0 enabled and you might also have members in your team using Visual Studio 2013 and still want to build and run the project.

How to change Language Version from C# 6.0 in Visual Studio 2015 ?

You can change the C# language version from the project properties.

In the Project properties dialog , navigate to the "Build tab" and click the "Advanced button" from the content area as shown in the below screenshot.

image

In the advanced Build Settings dialog , change to your preferred C# language version by selecting it from the "Language Version" dropdownlist.
image

Click OK and then save and rebuild the project.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

C Program to find the G.C.D of a number using Recursive function

Problem Write a program in C to find the find the G.C.D of a number using recursion and display the ...

C Program to print a Half Pyramid using *

Problem Write a program in C to print Half pyramid using * as shown. * * * * * * * * * * ...

C Program to display Positive factors of a number

Problem Write a program in C to display all the positive factors of a number enter by the user. Ho...