Friday, September 8, 2017

How to start using C# 7.1?

Today I wanted to use C# 7.1 to take advantage of the new async main functionality.

However I couldn’t find immediatelly where to activate it.

Let’s walk through the steps:

  • Right click on your project and choose Properties


  • Go to the Build tab and click on the Advanced… button at the bottom


  • Now you can either choose C#7.1 from the list or select C# latest minor version (latest) to always use the latest version.


  • After clicking OK, you can start using the new C# 7.1 features:


No comments: