Тёмный

Difference between Select and SelectMany in LINQ in C# 

Everything C#
Подписаться 1,4 тыс.
Просмотров 4,2 тыс.
50% 1

Everyone knows what the Select operator does in LINQ but many are not aware of how useful the SelectMany operation can be.
C# Answers provides answers to common questions about the C# language and the related .NET system. Do you have a programming question about C# or .NET that you would like answered?
Add it as a comment below and I try to answer them all!
GitHub: github.com/ComponentFactory/C...

Наука

Опубликовано:

 

2 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@fkbey5756
@fkbey5756 4 месяца назад
Thank you for your clear English and your time.
@user-wj6sw6lz3i
@user-wj6sw6lz3i Месяц назад
Great
@mins_91
@mins_91 9 месяцев назад
Thank you very much for this clear explanation
@kidsvlog1309
@kidsvlog1309 7 месяцев назад
awesome explanation ❤
@darkwhite123
@darkwhite123 2 месяца назад
what if there are two lists? a list with won years and a list with participated years. selectMany is executed consecutive? so there will be "stupid" duplicates? do you know of a way to achieve such without duplicates?
Далее
Left Outer Join in LINQ in C#
7:54
Просмотров 2,3 тыс.
ШОКОЛАДКА МИСТЕРА БИСТА
00:44
Просмотров 1,1 млн
Cat Plays with Window Washer
00:22
Просмотров 2,2 млн
Mixcraft
1:11
Просмотров 786
Difference between IEnumerable and IQueryable in C#
9:52
Internals of Select and SelectMany (LINQ Internals)
15:33
How IEnumerable can kill your performance in C#
11:02
Просмотров 113 тыс.
Using IDisposable in C#
4:48
Просмотров 2,3 тыс.
The Right Way to Check for Null in C#
9:35
Просмотров 95 тыс.