/CSharpFeatures

CSharpFeatures contains group of C# version features, features evolved from C# 4.

Primary LanguageC#MIT LicenseMIT

CSharpFeatures

CSharpFeatures contains group of C# version features, features evolved from C# 3 to till date.

apm Twitter URL Twitter Follow GitHub followers Build status Feature Requests Bugs


IDE

Visual Studio 2017


.NET Framework

v4.6.1


C# Evolution Matrix

C# Version CLR Version .NET Framework Version / IDE Features Available Here
1.0 1.0/1.1 1.0/1.1 VS2002 Managed Code No
2.0 2.0 2.0 VS2005 Generics No
Partial types
Anonymous Method
Nullable Types
Iterators
Covariance and contravariance
3.0 2.0 3.0\3.5 VS2008 Lambda Expressions No
Auto-implemented properties
Extension Methods
Expression Tree
Anonymous Types
LINQ
Implicit Typing (var)
4.0 4.0 4.0 VS2010 Late Binding (dynamic) Yes
Named Arguments
Optional Parameters
Generic covariant and contravariant
Embedded interop types
5.0 4.0 4.5, 4.5.1, 4.5.2 VS2012/VS2013 Async Feature No
Caller Information
6.0 4.0 4.6, 4.6.1, 4.6.2 VS2013/VS2015 Static imports No
Exception filters
Property initializers
Expression bodied members
Null propagator
String interpolation
nameof operator
Dictionary initializer
7.0 4.0 4.7, 4.7.1, 4.7.2 VS2017 Improved performance and productivity No
Azure Support
AI Support
Game development
Cross platform
Mobile App Development
Window App Development
8.0 4.0 4.8 VS2019 Nullable reference types No
Async streams
Implicitly typed new-expressions
Ranges and indices
Default interface members
Recursive patterns
Switch expressions
Platform dependencies