Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
3 ноября 2023 г. 11:00:01
00:03:09
Яндекс.Метрика