C# 版本历史记录
本文关键字:记录 历史 版本 | 更新日期: 2023-09-12 17:37:40
C# 于 2002 年首次随 .NET Framework 1.0 一起引入,此后有了很大的发展。 下表列出了每个版本的 C# 中引入的重要功能:
Version | .NET Framework | Visual Studio | Important Features |
---|---|---|---|
C# 1.0 | .NET Framework 1.0/1.1 | Visual Studio .NET 2002 |
|
C# 2.0 | .NET Framework 2.0 | Visual Studio 2005 |
|
C# 3.0 | .NET Framework 3.03.5 | Visual Studio 2008 |
|
C# 4.0 | .NET Framework 4.0 | Visual Studio 2010 |
|
C# 5.0 | .NET Framework 4.5 | Visual Studio 2012/2013 |
|
C# 6.0 | .NET Framework 4.6 | Visual Studio 2013/2015 |
|
C# 7.0 | .NET Core 2.0 | Visual Studio 2017 |
|
C# 8.0 | .NET Core 3.0 | Visual Studio 2019 |
|
C# 9.0 | .NET 5.0 | Visual Studio 2019 |
|
C# 10.0 | .NET 6.0 | Visual Studio 2022 |
|
下一节中了解如何为 C# 设置开发环境。