Excerpt from http://learninghard.blog.51cto.com/6146675/1197401
This correspondence is shared here because some beginners are right after the articles in the C # Basics series are released. NET version and C # language features are a bit unclear and sometimes confusing.
And through this correspondence, we can also help you have a comprehensive control of C # and. NET class libraries, to help you understand the C # and. NET class Library of the various knowledge points, so that they can check into the seat. Specific correspondence between them is shown in the following table:
C # version |
. NET Framework Version |
Visual Studio version |
Release date |
Characteristics |
C # 1.0 |
. NET Framework 1.0 |
Visual Studio. NET 2002 |
2002.1 |
Commissioned Event Apm |
C # 1.1 |
. NET Framework 1.1 |
Visual Studio. NET 2003 |
2003.4 |
C # 2.0 |
. NET Framework 2.0 |
Visual Studio 2005 (start naming Visual Studio) |
2005.11 |
Generic type Anonymous methods Iterators Nullable types |
C # 3.0 |
. NET Framework 3.0 . NET Framework 3.5 |
Visual Studio 2008 |
2007.11 |
Implicitly-typed part variables Object Collection Initialization Auto-Implement Properties Anonymous type Extension methods query expressions Lambda expression An expression tree Partial Classes and methods Linq |
C # 4.0 |
. NET Framework 4.0 |
Visual Studio 2010 |
2010.4 |
Dynamic binding Named and optional parameters Covariance and contravariance of generics Interoperability |
C # 5.0 |
. NET Framework 4.5 |
Visual Studio 2012 |
2012.8 |
Async and wait (async and await) Caller information (Caller information) |
A correspondence between the Visual Studio version, the C # version, and the. NET version