The .NET Framework requirements to use C# 9
Generally, new C# versions have been released in conjunction with .NET Framework versions, as some of the language improvements are dependent on underlying .NET runtime support. Starting with C# 8, which was released with .NET Core 3.0/.NET Standard 2.1, Microsoft has announced tightly coupled C# and .NET version releases. So, C# 9 will be the default and latest language version for .NET 5.
In the future, we can expect a new C# major version release with each annual update of .NET Framework.
To develop programs in C# 9, you'll need the following:
- The .NET 5.0 SDK for the platform of your choice, be it Windows, Mac, or Linux. It can be downloaded from https://dotnet.microsoft.com/download/dotnet/5.0.
- If you use Visual Studio, you'll need Visual Studio 2019 16.7 or higher. You can use Visual Studio Code with the latest version of the C# extension installed. The extension can be downloaded from Visual Studio Marketplace...