Microsoft C# Version History

Microsoft C# Version History 1

The C# programming language was first released by Microsoft in 2002 along with the new .NET Framework 1.0 and Visual Studio.NET 2002. Currently, it stands as the seventh most used programming language in the world. (source: StackOverflow 2019 survey ). In this blog post, we will look into the released C# version history from its initial release version and list down the features and enhancements that have been added over subsequent releases.

Over the period Microsoft has added a ton of features to make the C# programming language a real general-purpose language using which the developer can build applications like a simple console application, desktop application, Web application, service application, and even new generation Internet of Things (IoT) applications and many more.

c# version history
Published C# Version History

C# Version History

At the time of writing the current version of C# is 8.0, the .NET Framework is of version 4.8 and .NET Core Framework is 3.1 (LTS)

C# Version.NET FrameworkCLR
Version
Major Features and Enhancement
C# 1.01.01.0Class, Structs, Interfaces, Events, Properties, Delegates, Expressions, Statements, Attributes, Literals
C# 1.21.11.1Enhancements and call of Dispose on an IEnumerator for-each call.
C# 2.02.02.0Generics, Partial types, Anonymous Methods, Iterators, Nullable types, Getter/Setter separate accessibility, Delegates, Static classes, Delegate inference.
C# 3.03.52.0Implicitly typed local variables, Object and collection initializers, Auto-Implemented properties, Anonymous types, Extension methods, Query expressions, Lambda expressions, Expression trees, Partial methods.
C# 4.04.04.0Dynamic binding, Named and optional arguments, Covariance and Contravariance for generic delegate and interfaces, Embedded interop types (NoPIA)
C# 5.04.54.0Asynchronous methods support and Caller info attributes.
C# 6.04.64.0Complier-as-a-Service (Roslyn), Import of static type members into the namespace, Exception filters, Await in catch/finally blocks, Auto property initializer, the default value for a property getter, Expression-bodied members, Null propagator (Null-conditional operator, succinct null checking), string interpolation, new nameof operator and Dictionary initializers.
C# 7.04.6.24.0Out variables ,Pattern matching ,Tuples ,Deconstruction ,Discards ,Local Functions ,Binary Literals ,Digit Separators ,Ref returns and locals ,Generalized async return types ,More expression-bodied members ,Throw expressions
C# 7.14.74.0Async main ,Default expressions ,Reference assemblies ,Inferred tuple element names ,Pattern-matching with generics
C# 7.24.7.14.0Span and ref-like types, In parameters and readonly references, Ref conditional, Non-trailing named arguments, Private protected accessibility, Digit separator after base specifier
C# 7.34.7.24.0System.Enum, System.Delegate and unmanaged constraints, Ref local re-assignment, Stackalloc initializers, Indexing movable fixed buffers, Custom fixed statement, Improved overload candidates, Expression variables in initializers and queries, Tuple comparison, Attributes on backing fields
C# 8.04.84.0Nullable reference types, default interface members, recursive patterns, async streams, additional using usage, range, and indexes, null-coalescing assignment, static local functions, unmanaged generic structs, readonly members, stackalloc in nested contexts, alternative interpolated verbatim strings support and Obsolete on attribute accessors.

All of the above features have enhanced the C# programming language to a great extent and made it very easy for the developer to write cleaner code. Microsoft with the introduction of the .NET Core has made it possible to use the C# language without worrying about the platform the application will execute in. Applications of different types can be created that can work without issue on a variety of platforms like Linux, macOS, and various devices.

The Microsoft C# Language Design Team (LDT) designs the language and accepts proposals for the language. If you have a great idea about the language or want to take a look at what the LDT team is working on, you can check the “C# Language Proposals” present on the GitHub page.

To download the latest .NET Framework or the .NET Core please click here and if you want to download Visual Studio Community Edition, please click here.

This concludes the blog post on C# version history, I hope you found this post helpful, thanks for visiting, Cheer!!!

[ Further Reading: The .NET Core version history | The .NET Framework version history |  Introduction to WPF | Process to generate a machine learning model |  AI vs ML vs DL – Basic differences | Top 5 machine learning frameworks to learn in 2020 | How to navigate in Visual Studio 2019 using Ctrl +T |  Basic machine learning terminologies ]

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments