|
Version
|
.NET Framework
|
Visual Studio
|
Important Features
|
|
C# 7.0
|
.NET Core
|
Visual Studio 2017
|
§ out variables
§ Tuples
§ Discards
§ Pattern Matching
§ Local functions
§ Generalized async return types
§ throw Expressions
|
|
C# 6.0
|
.NET Framework 4.6
|
Visual Studio 2013/2015
|
§ Expression Bodied Methods
§ Auto-property initializer
§ nameof Expression
§ Primary constructor
§ Await in catch block
§ Exception Filter
§ String Interpolation
|
|
C# 5.0
|
.NET Framework 4.5
|
Visual Studio 2012/2013
|
§ Async features
§ Caller information
|
|
C# 4.0
|
.NET Framework 4.0
|
Visual Studio 2010
|
§ Dynamic binding (late binding)
§ Named and optional arguments
§ Generic co- and contravariance
§ Embedded interop types
|
|
# 3.0
|
.NET Framework 3.0\3.5
|
Visual Studio 2008
|
§ Implicitly typed local variables
§ Object and collection initializers
§ Auto-Implemented properties
§ Anonymous types
§ Extension methods
§ Query expressions
§ Lambda expressions
§ Expression trees
§ Partial Methods
|
|
C# 2.0
|
.NET Framework 2.0
|
Visual Studio 2005
|
§ Generics
§ Partial types
§ Anonymous methods
§ Iterators
§ Nullable types
§ Private setters (properties)
§ Method group conversions (delegates)
§ Covariance and Contra-variance
§ Static classes
|
|
C# 1.0
|
.NET Framework 1.0/1.1
|
Visual Studio .NET 2002
|
Basic features
|
|
|
|
|
|
Monday, 9 April 2018
C# Versions and Features
Subscribe to:
Post Comments (Atom)
Azure Service Bus Queue , Table - Send, Read
using Microsoft.ServiceBus.Messaging; using System; using System.Collections.Generic; using System.Linq; using System.Text; ...
-
Create a primary key on each table you create and unless you are really knowledgeable enough to figure out a better plan, make it the clus...
-
Ranking Functions There are four ranking functions included with SQL Server (starting with SQL Server 2005). Those functions; ROW_NUMBE...
-
C# 2.0 Features 1. Generics 2. Method parameters and Constraints 3. Factories 4. Partia...
No comments:
Post a Comment