A summary of new features in C# 6
November 22, 2016 2 Comments
Here’s a short list of new features in C# 6 and a link to a blog post explaining their usage:
- How to create immutable objects in C# 6
- How to assign an expression to a class property in C#6
- How to assign an expression to a method in C#6
- Getting the name of a variable in C# 6 using nameof
- A new way of checking for nulls in C# 6
- Add items to a list using an extension method in C# 6
- A new way to format strings in C# 6
- Importing static methods from a namespace in C# 6
- Filtering exceptions in C# 6
View all various C# language feature related posts here.
Thanks for the great work you done by making all the simple codes at a single place .the way of categorizing the codes is very good and i love to use the codes thanks alot .
Thanks for your kind words. //Andras