Why I won’t need constructors anymore in C# 11
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-zero-to-hero-integration-testing-in-asp-net-core
Become a Patreon and get source code access: https://www.patreon.com/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/issues/3630
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
Видео Why I won’t need constructors anymore in C# 11 канала Nick Chapsas
Become a Patreon and get source code access: https://www.patreon.com/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/issues/3630
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
Видео Why I won’t need constructors anymore in C# 11 канала Nick Chapsas
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Dynamically enabling features with Feature Flags in .NET Core 3.1Testing your C# code reliably by freezing it in timeDeploying Server-Side Blazor in Azure with SignalR service | Blazor Tutorial 13The cleanest way to use Docker for testing in .NETWhen to use ValueTask instead of Task and save precious memory in C#How Regex in C# can kill your appLowering in C# and the ability to predict code performanceC# 11’s new List Patterns are a bit too powerfulGetting started with API Load Testing (Stress, Spike, Load, Soak)The Best .NET Mapper to Use in 2023What are record types in C# and how they ACTUALLY workMicrosoft fixed my biggest complaint with Minimal APIs in .NET 7C# 11's NEW elegant string conversionHow to work with text in .NET like a pro with HumanizerUsing Latest C# Features in Any Old .NET VersionThe evolution of Properties in C# from version 1 to 10The best way to stay up to date with .NET news #ShortsHow to rate limit (throttle) your ASP.NET Core APIStop wasting server resources by properly using CancellationToken in .NETC# gets yet another keyword in C# 115 MORE C# keywords you (probably) never had to use