Five New C# Features All C# Developers should know

Опубликовано: 21 Январь 2026
на канале: Gavin Lon
3,135
147

In this video I discuss 5 new features that have been fairly recently included the C# programming language, This video also includes some new features released with .NET 8 (the latest release of .NET). I believe all C# developers should have at least a basic knowledge of these new features, and new features like these.

🕐 Video Time Indexes
-------------------------------------
00:00:00 - Introduction
00:01:29 - Setting up your Environment
00:02:04 - Record Type
00:11:48 - Primary Constructors
00:16:08 - List Patterns
00:18:24 - Collection Expressions
00:20:10 - Generic Attributes
00:21:23 - Conclusion

Support the Channel 👍
------------------------------------
Buy me a Coffee ☕️
🔗 https://www.buymeacoffee.com/GavinLon

PayPal
🔗 https://www.paypal.com/paypalme/GavinLon

🪙 BitCoin
12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns

Please follow me on Twitter @GavinLonDigital

Links Referenced in this video
-------------------------------------------------

Setting up your Environment

Download and install the latest .NET SDK
🔗https://dotnet.microsoft.com/en-us/do...
Download and install the latest release of VS Code
🔗https://code.visualstudio.com/
Download and install the latest release of Visual Studio
🔗https://visualstudio.microsoft.com/

Record type

🔗https://learn.microsoft.com/en-us/dot...
🔗https://learn.microsoft.com/en-us/dot...

Primary constructors
🔗https://learn.microsoft.com/en-us/dot...

List Patterns
🔗https://learn.microsoft.com/en-us/dot...

Collection Expressions
🔗https://learn.microsoft.com/en-us/dot...

Generic Attributes
🔗https://learn.microsoft.com/en-us/dot...

Full Playlist - C# for Beginners Course
------------------------------------------------------------
🔗    • Unity for Beginners (C#) - 2023 - Let's Cr...  


Free Courses and Educational Videos - Gavin Lon
-------------------------------------------------------------------------------
Blazor (Webassembly) Shopping Cart Application full playlist
🔗    • Blazor (WebAssembly) and Web API on .NET 6...  

Full playlist - Let's Build an ASP .NET Core MVC Web Application on .Net 5
🔗    • Part 1 - Overview - Let's Build an ASP.NET...  

Full playlist - Advanced C# Course
🔗    • Introduction - Advanced C# Tutorial (Part 1)  

Full playlist - C# for Beginners Course
🔗    • C# for Beginners - Part 1 - Introduction t...  

Blazor Server App on .NET 6 Course - FreeCodeCamp
🔗    • Blazor Server App with .NET 6 and Syncfusi...  

🎶All Music in this Video was Created by Gavin Lon