Collection expressions sees the spread operator in C#
Автор: Round The Code
Загружено: 2023-11-02
Просмотров: 2919
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-c...
👨💻Take our .NET and C# coding challenges👨💻
https://www.roundthecode.com/dotnet-c...
► More information:
https://www.roundthecode.com/dotnet-t...
🎥 Playlist 🎥
• .NET 8 and C# 12 new features
► 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

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: