- Back to Home »
- C#.NET »
- New Features in C#.NET
Posted by :
Sudhir Chekuri
Wednesday, 30 December 2015
C#.NET 2.0
1.
Generics
Without Generics
With Generics
Constraints and Method
Parameters and Return Types
Factories
2.
Partial Types
3.
Anonymous Methods
Async Tasks
Updating The UI
4.
Iterators
5.
Nullable Types
6.
Private Setters (properties)
7.
Method Group Conversions
(delegates)
C#.NET 3.0
1.
Implicitly Typed Local
Variables
Restrictions
2.
Object and Collection
Initializers
Initializing Collections
3.
Auto-Implemented Properties
4.
Anonymous Types
5.
Extension Methods
Before Extension Methods
With Extension Methods
6.
Query Expressions
Left and Right Joins
7.
Lambda Expressions
8.
Expression Trees
C#.NET 4.0
1.
Dynamic Typed Objects
2.
Optional and Named Parameters
3.
Improved COM Interoperability
4.
Co- and Contra-Variance
C#.NET 5.0
1.
Asynchronous methods
2.
Caller info attributes
C#.NET 6.0
1.
Auto Property Initializer
2.
Primary Consturctors
3.
Dictionary Initializer
4.
Declaration Expressions
5.
Static Using
6.
await inside catch block
7.
Exception Filters
8.
Conditional Access Operator to
check NULL Values