Vesion of C#
Version
|
CLR
|
Date
|
.NET Framework
|
Visual Studio
|
C# 1.0
|
1.0
|
January 2002
|
.NET Framework 1.0
|
Visual Studio .Net 2002
|
C# 1.2
|
1.1
|
April 2003
|
.NET Framework 1.1
|
Visual Studio .Net 2003
|
C# 2.0
|
2.0
|
November 2005
|
.NET Framework 2.0
|
Visual Studio 2005
|
C# 3.0
|
2.0/2.0 SP1
|
November 2007
|
.NET Framework 2.0/3.0/3.5
|
Visual Studio 2008
|
C# 4.0
|
4.0
|
April 2010
|
.NET Framework 4.0
|
Visual Studio 2010
|
C# 5.0
|
4.5
|
August 2012
|
.NET Framework 4.5
|
Visual Studio 2012
|
| | | | |
Features of C# according to Versions
Summary of versions
|
C# 2.0
|
C# 3.0
|
C# 4.0
|
C# 5.0
|
Future
|
- Generics
- Partial types
- Anonymous methods
- Iterators
- Nullable types
- Private setters (properties)
- Method group conversions (delegates)
- Covariance and Contra-variance
- Static classes
|
- Implicitly typed local variables
- Object and collection initializers
- Auto-Implemented properties
- Anonymous types
- Extension methods
- Query expressions
- Lambda expressions
- Expression trees
- Partial Methods
|
- Dynamic binding
- Named and optional arguments
- Generic co- and contravariance
- Embedded interop types ("NoPIA")
|
- Asynchronous methods
- Caller info attributes
|
C# 5.0
- Compiler-as-a-service (Roslyn)
C# 6.0
- Import type members into namespace
- Succinct syntax for primary constructors
- Readonly properties
- Property expressions (property lambdas)
- Method expressions
- Parameter arrays for IEnumerable interfaces
- Succinct null checking
- Multiple return values
- Constructor type inference
|
No comments:
Post a Comment