Skip to content
Related Articles

Related Articles

C# | Version History
  • Difficulty Level : Medium
  • Last Updated : 12 Aug, 2020

C# is a general-purpose, modern and object-oriented programming language pronounced as “C Sharp”. It was developed by Microsoft led by Anders Hejlsberg and his team within the .NET initiative and was approved by the European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO). The current version of C# is C# 7.3

The below table shows some important features introduced in each version of C#: 
 

Version.NET FrameworkVisual StudioMajor Features
C# 1.0.NET Framework 1.0Visual Studio .NET 2002
C# 1.2.NET Framework 1.1Visual Studio .NET 2003
  • Basic features
C# 2.0.NET Framework 2.0Visual Studio 2005
C# 3.0.NET Framework 2.0/3.0/3.5Visual Studio 2008/2010
C# 4.0.NET Framework 4Visual Studio 2010
  • Dynamic binding
  • Named/optional arguments
  • Generic covariant and contravariant
  • Embedded interop types
C# 5.0.NET Framework 4.5Visual Studio 2012/2013
  • Asynchronous members
  • Caller info attributes
C# 6.0.NET Framework 4.6Visual Studio 2015
  • Static imports
  • Exception filters
  • Auto-property initializers
  • Expression bodied members
  • Null propagator
  • String interpolation
  • nameof operator
  • Index initializers
  • Await in catch/finally blocks
  • Default values for getter-only properties
C# 7.0.NET Framework 4.6.2Visual Studio 2017
  • Out variables
  • Tuples and deconstruction
  • Pattern matching
  • Local functions
  • Expanded expression bodied members
  • Ref locals and returns
  • Discards
  • Binary Literals and Digit Separators
  • Throw expressions
C# 7.1.NET Framework 4.7Visual Studio 2017 version 15.3
  • async Main method
  • default literal expressions
  • Inferred tuple element names
  • Pattern matching on generic type parameters
C# 7.2.NET Framework 4.7.1Visual Studio 2017 version 15.5
  • Techniques for writing safe efficient code
  • Non-trailing named arguments
  • Leading underscores in numeric literals
  • private protected access modifier
  • Conditional ref expressions
C# 7.3.NET Framework 4.7.2Visual Studio 2017 version 15.7
  • You can access fixed fields without pinning.
  • You can reassign ref local variables.
  • You can use initializers on stackalloc arrays.
  • You can use fixed statements with any type that supports a pattern.
  • You can use additional generic constraints.
C# 8.0.NET Core 3.0/.NET Standard 2.1 Visual Studio 2019 version 16.3
  • Readonly members
  • Default interface methods
  • Pattern matching enhancements
  • Switch expressions
  • Property patterns
  • Tuple patterns
  • Positional patterns
  • Using declarations
  • Static local functions
  • Disposable ref structs
  • Nullable reference types
  • Asynchronous streams
  • Indices and ranges
  • Null-coalescing assignment
  • Unmanaged constructed types
  • Stackalloc in nested expressions
  • Enhancement of interpolated verbatim strings

References: 

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :