Final version of C# 6 having been released, with couple of new features
- Static Using Syntax
- Auto-Property Initializers
ability property inline initialization rather that and initialized through constructor
- Dictionary Initializers & String Interpolation
cleaner way to initialize the Dictionary and Concatenate strings together
- NameOf Expression
handling exception with less codes
- Expression Bodied Function & Property
functions and properties in lambda expressions save you from defining function and property statement block
- Exception Filters
define specific catch block rather than specify a condition for a catch block
- Await in a Catch and Finally Block
useful in log tracking without blocking, asynchronous code inside in a catch/finally block
- Null Conditional Operator
released from NullReferenceException errors handeling
References:
B' happiiiiiii always..............!
No comments:
Post a Comment