Collection expressions sees the spread operator in C#
The spread operator comes to C# as part of collection expressions (also known as collection literals). As a new feature in C# 12, it allows you to join collection types together, such as an array, a span and a list.
In-addition, there is a syntax change that reduces the amount of code bloat when declaring a collection type.
We'll show you how to use collection expressions so that you can join collection types together and add additional values.
📖 Learn .NET and C# with our online courses 📖
https://www.roundthecode.com/dotnet-courses?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28online+course%29
👨💻Take our .NET and C# coding challenges👨💻
https://www.roundthecode.com/dotnet-coding-challenges?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28coding+challenges%29
► More information:
https://www.roundthecode.com/dotnet-tutorials/collection-expressions-brings-spread-operator-csharp-12?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28more+information%29
🎥 Playlist 🎥
https://www.youtube.com/playlist?list=PLNLqfquXi7rt1cS16sGUDQA-JjSe88qEw
► Chapters
0:00 About the spread operator
0:18 Syntax change
1:02 Spread operator
1:56 Coding challenges
2:06 Collection types support
2:48 What to watch next
#csharp #csharpprogramming #csharpdotnet
Видео Collection expressions sees the spread operator in C# канала Round The Code
In-addition, there is a syntax change that reduces the amount of code bloat when declaring a collection type.
We'll show you how to use collection expressions so that you can join collection types together and add additional values.
📖 Learn .NET and C# with our online courses 📖
https://www.roundthecode.com/dotnet-courses?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28online+course%29
👨💻Take our .NET and C# coding challenges👨💻
https://www.roundthecode.com/dotnet-coding-challenges?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28coding+challenges%29
► More information:
https://www.roundthecode.com/dotnet-tutorials/collection-expressions-brings-spread-operator-csharp-12?utm_source=youtube&utm_medium=referral&utm_campaign=0zb6CeLZIsE+-+video+content+%28more+information%29
🎥 Playlist 🎥
https://www.youtube.com/playlist?list=PLNLqfquXi7rt1cS16sGUDQA-JjSe88qEw
► Chapters
0:00 About the spread operator
0:18 Syntax change
1:02 Spread operator
1:56 Coding challenges
2:06 Collection types support
2:48 What to watch next
#csharp #csharpprogramming #csharpdotnet
Видео Collection expressions sees the spread operator in C# канала Round The Code
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Add Stripe to your .NET project in less than 10 minutes!RegEx: How to use in C#? Expression examplesAre you prepared for your next .NET interview?Hooking into Mediator PipelinesToggle .NET features on & off with ease using feature flagsInclude method for one to many relationships in EF CoreYield in C#: How to create an iterator with IEnumerableAdd geolocation to .NET: Find your client's location easily.NET 7 Rate Limiter: How it can reduce Web API callsHow C# has evolved with features from previous versionsSelect rows using queries in Entity Framework CoreInsert, update & delete a record in Entity Framework CoreHow to Add Basic Authentication to an ASP.NET Core Application: OAuth Security - Part 1Blazor & SSR launches its way into .NET 8xUnit tutorial: How to run unit testing in C#TimeProvider in .NET 8 makes mocking time much easier!SignalR for beginners: Real-time communication in .NETC# coding challenges to master your .NET technical job interviewCreate and Configure a Blazor Wasm App with a ASP.NET Core Web API in Azure: Dev To Azure - Part 3Blazor Server vs. Blazor WebAssembly: Four Ways In Which They DifferCreate a Small Blog in Blazor - Part 1 - Create Application in Visual Studio