C# version history and core features

access_time 3 years ago visibility390 comment 0

C# is my favorite programming language and has been evolving overtime. I have been programming with many other languages but C# is always my favorite because it is simple and easy to use. Visual Studio is the most powerful tool I’ve ever used. To me, programming efficiency and performance are the key factors.

infoThis page will not be updated any more. For C# language features, refer to the compiler dpcumentation: https://github.com/dotnet/roslyn/blob/master/docs/Language%20Feature%20Status.md.

With each major release, new language or compiler features are added together with framework and IDE updates.

This page summarizes the version history up to C# 8.0 to help you recap the core features you may have missed.

Version history

* .NET Version doesn’t necessarily indicate the mini version that the feature could work on. For example, some features are compiler features/syntactic sugar and the code can work on previous version after compilation.

C# Version Visual Studio .NET Framework VersionCLR Version
Core Features
1.0 VS2012 + 1.0 +1
2.0 VS2005 + 2.0 +2
3.0 VS2008 + 3.5 +2
4.0 VS2010 + 4.0 +4
5.0 VS2011 + 4.5 +4
6.0 VS2015 + 4.6 +4
7.0 VS2017 15.0 + 4.7 +4
7.1 VS2017 15.3+ 4.7 +4
7.2VS2017 15.5+4.7+4
VS2017 15.7+

.NET Core 2.1
.NET Core 2.2

.NET Framework 4.8

Detailed documentation: What's new in C# 7.3
  • Accessing fixed fields without pinning
  • Reassigning ref local variables
  • Using initializers on stackalloc arrays
  • Using fixed statements with any type that supports a pattern
  • Using additional generic constraints

.NET Core 3.x 

.NET Standard 2.1

local_offer C# local_offer lite-log
info Last modified by Raymond at 2 months ago copyright This page is subject to Site terms.
Like this article?
Share on

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

Want to publish your article on Kontext?

Learn more

Kontext Column

Created for everyone to publish data, programming and cloud related articles.
Follow three steps to create your columns.

Learn more arrow_forward

More from Kontext

Machine Learning with .NET in Jupyter Notebooks

local_offer plot local_offer machine-learning local_offer jupyter-notebook local_offer C# local_offer dotnetcore

visibility 746
thumb_up 0
access_time 9 months ago

In this article, I'm going to show you how to install Jupyter in Windows and then install .NET kernel for Jupyter notebooks. It also shows a machine learning example using ML.NET. The target audience are .NET developers who want to expand their skills in data engineering and science domain with ...

local_offer C# local_offer .NET

visibility 36
thumb_up 0
access_time 11 months ago

This code snippet shows how to convert string to date.

local_offer C#

visibility 5
thumb_up 0
access_time 5 days ago

C# regular expressions can be used to match and replace certain text patterns from a string variable. The following regular expression can be used to remove all heading tags incl. h1 to h9 from HTML text string. <[hH][1-9][^>]*>[^<]*</[hH][1-9]\s*> var html = "Your HTML ...

About column

About C# Programming Language: features, syntax, usages and so on.

rss_feed Subscribe RSS