In this post we will see the newly added features in C# 6.0. In C# 6.0 some very cool features has been added like "Auto-property Enhancements", "Primary Constructors", "Expressions as Function Body", "Use of Static", "Exception Filters", "inline declarations", "nameof Expressions", "Null-conditional Operators", "String interpolation", "Await in catch and finally".
Introduction
Here, you will find nine new cool features of C# 6.0:
- Auto-property Enhancements
- Parameters on Classes and Structs
- Using Static
- Exception Filters
- Null-conditional Operators
- Index Initializers
- $ sign
- String Interpolation
- nameof Expression
- Await in catch and finally block