1
I have Visual Studio 2010 installed. I would like to know if it is possible to use the features of version 6.0 of C# in my IDE
1
I have Visual Studio 2010 installed. I would like to know if it is possible to use the features of version 6.0 of C# in my IDE
2
Unfortunately you will not be able to use C# 6 resources in VS 2010. If it were at least VS 2012.
Follow the evolution of language
async
main, Tuple member name inference, default expression, pattern matching with generics
.
C# 7 -> VS2017 || . NET Core 1.0 and later
Main: tuples, ref locals and ref Return, pattern matching (including pattern-based switching instructions), parameter declarations out
, local functions, binary literals, digit separators and asynchronous arbitrary returns.
C# 6 -> VS2015 . NET 4.6 || . NET Core 1.0
await
in catch
and finally
, extension method Add
in collection initializers.The following are listed the main features that were introduced in previous versions of the C# and Visual Studio . NET language.
C# 5 -> VS2013
C# 5 -> VS2012 . NET 4.5 (4.7)
To direct to . NET Framework 4.7 in Visual Studio 2012 or later, please install the Microsoft Developer Package . NET Framework 4.7.
C# 4 -> VS2010 . NET 4
C# 3 -> VS2008 . NET 3.5
C# 2 -> VS2005 . NET 2.0
C# 1.1 -> VS2003
C# 1 -> VS2002 . NET 1.0
Browser other questions tagged c# visual-studio
You are not signed in. Login or sign up in order to post.