In this post we’ll learn about “How to Choose C# Language latest version (minor release) in Visual Studio”. Visual Studio allows you to choose the latest version of the C# language for your project. To select the latest version of the C# language, in Visual Studio, in Solution Explorer, right-click on the project and select Properties -> Build Tab. And then select the Advanced button. This will open the “Advanced build settings” window where you can select the “Language version” drop-down option. You can refer to one of my old tips: How to check default language version in Visual Studio?

C# language latest versions

In previous versions of Visual Studio, language version was used by default to select the default language version installed. Now there’s a change. By default, it now refers to the major version that has been released – (latest major version of C#) starting with C# language version 7.1. When this option is selected, you will only be able to use C# 7.0 features, even if other versions of C# 7.1 or C# 7.2 are installed. Unless you make explicit changes to select the minor version, the major version will be used by default. Go to Properties -> Build -> Advanced, select “Latest C# Minor Version (Latest)” to select the latest minor version installed.


More related post which you may like:


01 Choosing the C Language latest version minor release in Visual Studio 2017 - https://codeconfig.in

The C# latest major version is the default language version set and choosing the “C# latest minor version” it will always refer to latest C# version, in this case it will refer to C# 7.2.

Check out all new features of C# 7.0 

Here is the quick difference between two version of Visual Studio

21 Choosing the C Language latest version minor release in Visual Studio 2017 - https://codeconfig.in

You can check more article on our website under C# section HERE or you can also check same on Microsoft Docs too.

Leave a Reply

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

Explore More

Working With File Class In C#

In C#, ‘File’ class provides many static methods for moving, copying, and deleting files. These Static methods involve moving a file and copying and deleting a file also. Let’s check

How to Read a Text File in C#

In C# ‘File’ class provides static methods to read given text file data. The File.ReadAllText() method opens a text file, reads all the text present in the file into a

C# | How to use Interface references

In C#, you’re permitted to make a reference variable of an interface type or in other words, you’re permitted to form an interface reference variable. Such kind of variable can