What are the correct version numbers for C#? What came out when? Why can’t I find any answers about C# 3.5?
This question is primarily to aid those who are searching for an answer using an incorrect version number, e.g. C# 3.5. The hope is that anyone failing to find an answer with the wrong version number will find this question and then search again with the right version number.
C# versions are closely tied to the .NET Framework and Visual Studio releases. Here’s a breakdown of major C# versions along with their corresponding .NET Framework and Visual Studio releases:
using static
It’s worth noting that C# versions are often associated with the corresponding .NET runtime versions, and the .NET Core and .NET 5/6/7/… unification brings a more streamlined versioning approach. If you are using a specific version of Visual Studio, it usually supports multiple versions of the C# language.