This table shows which platform and Visual Studio is required to use each version of C# and when support ends for that platform.
C# | Earliest platform/target | Platform supported until | Visual Studio |
---|---|---|---|
13.0 | .NET 9 | 2026-05-12 | 2022 (17.10) |
12.0 | .NET 8 | 2026-11-10 (LTS) | 2022 (17.8) |
11.0 | .NET 7 | 2024-05-14 | 2022 (17.4) |
10.0 | .NET 6 | 2024-11-12 (LTS) | 2022 (17.0) |
9.0 | .NET 5 | 2022-05-20 | 2019 (16.8) |
8.0 | .NET Core 3 (Standard 2.1) | 2022-12-13 | 2019 (16.3) |
7.3 | .NET Core 2 (Standard 1) | 2018-10-01 | 2017 (15.7) |
7.2 | .NET Core 2 (Standard 1) | 2018-10-01 | 2017 (15.5) |
7.1 | .NET Core 2 (Standard 1) | 2018-10-01 | 2017 (15.3) |
7.0 | .NET Core 2 (Standard 1) | 2018-10-01 | 2017 |
6.0 | .NET Framework 4.6 | 2022-04-26 | 2013 |
5.0 | .NET Framework 4.5 | 2016-01-12 | 2012 |
4.0 | .NET Framework 4 | 2016-01-12 | 2010 |
3.0 | .NET Framework 3 | 2011-06-12 | 2008 |
2.0 | .NET Framework 2 | 2011-06-12 | 2005 |
1.0 | .NET Framework 1 | 2002 |
Later supported versions
While early versions of a platform may have ended later minor versions may still be supported.
For example:
- .NET Framework 4.6.2 is supported until 2027-01-12
- .NET Framework 4.7.x & 4.8.x do not yet have a support end date