C# 6.0 introduces a number of new features that will make it easier for developers to avoid boilerplate code. We also have a new compiler technology called "Roslyn" which allows us hook in” to the compiler and modify certain behavior as our programs compile.
1. using Static.
2. Auto property initializer.
3. Dictionary Initializer.
4. nameof Expression.
5. New way for Exception filters.
6. await in catch and finally block.
7. Null – Conditional Operator.
8. Expression – Bodied Methods
9. Easily format strings – String interpolation.
1. using Static.
2. Auto property initializer.
3. Dictionary Initializer.
4. nameof Expression.
5. New way for Exception filters.
6. await in catch and finally block.
7. Null – Conditional Operator.
8. Expression – Bodied Methods
9. Easily format strings – String interpolation.
No comments:
Post a Comment