Рет қаралды 26,086
This week .NET Conference 2020 took held between 10-12 November. During the conference, .NET 5 and C# 9.0 was officially released.
In this video, I am going to walk through three features of C# 9.0, which are my favorite ones.
And they are:
1. Init only setters
2. Record types
3. Top-level statements
In my opinion, Record type will be one of the most used features of C# 9.0. It is at least my favorite one. Creating an immutable type was never been so easy.
Init only setters are the enabler behind the record types. It is the feature that is used internally to achieve the feature of the record type.
Top-level statements also are going to be highly used, especially when working with serverless technologies like Azure functions or AWS Lambda.
Last year I did a video on my top 5 favorite features of C# 8.0, you can check it out on KZbin here: • Top Five C# 8 Features...
My blog site where I write exclusively about .NET Core (.NET 5 going forward) is here: dotnetcorecent...