Two cool features released as a part of C# 11 and .NET 7



#csharp #dotnet #dotnet7 #csharp11

In this video, I discuss some cool features of C# 11/.NET 7

00:00 – What is part of the video
00:28 – Generic math support introduction
01:07 – The problem for demonstrating generic math support
03:02 – Problem with generic in a math operation
03:45 – Solving the issue with generic math support
04:40 – Couple of new additions to Interface in C# 11
06:04 – List pattern
06:40 – Match on individual items of a list
07:45 – Access variable from a list using a list pattern
08:18 – Range with list pattern
09:15 – Match on condition
10:05 – Match on length of a list

Some of my popular videos:

Elasticsearch with .NET and introduction: https://youtu.be/9tkrDqMbFMg

Hangfire Scheduling an introduction: https://youtu.be/sQyY0xvJ4-o

ASP.NET Core Authentication with JWT (JSON Web Token): https://youtu.be/vWkPdurauaA

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1): https://youtu.be/1Fe7QD7Ovi8

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes): https://youtu.be/hlUGZ6Hmv6s

My blog site: https://dotnetcorecentral.com/