Перейти к содержимому

Why I won’t need constructors anymore in C# 11

Nick Chapsas

0:00 / 0:00

Why I won’t need constructors anymore in C# 11

137 386 просмотров · 4 г. назад
Nick Chapsas
429 тыс. подписчиков
137 386 просмотров · 4 г. назад
Check out my new "Integration testing in ASP .NET Core" course and use code INTESTING1 for 20% off (first 300): https://dometrain.com/course/from-zer... Become a Patreon and get source code access:   / nickchapsas   Hello everybody I'm Nick and in this video I will introduce you to the brand new "required" keyword that is being added in C# 11. It is a great language feature that solves one of my biggest problems with object initialization, and it eliminated the need for constructors for that usecase. Link to the required keyword feature issue: https://github.com/dotnet/csharplang/... Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn Keep coding merch: https://keepcoding.shop #csharp #dotnet