Тёмный

LINQ Method Syntax vs Query [Pt 17] | C# for Beginners 

dotnet
Подписаться 292 тыс.
Просмотров 17 тыс.
50% 1

View full playlist: aka.ms/dotnet/beginnervideos/...
Set up C# in VS Code: aka.ms/dotnet/get-started/vscode
🏆Earn the C# Certification: aka.ms/csharp-certification
Learn how LINQ composes queries written in multiple statements, or multiple methods, into a single query operation. In this video, examine another approach to writing LINQ queries. This feature will help you create more readable code without compromising runtime efficiency.
Links:
.NET Beginner Videos: aka.ms/dotnetvideos
MS Learn: aka.ms/dotnet/beginnervideos/...
Blog: aka.ms/dotnet/blog
Twitter: aka.ms/dotnet/twitter
TikTok: aka.ms/dotnet/tiktok
Mastodon: aka.ms/dotnet/mastodon
LinkedIn: aka.ms/dotnet/linkedin
Facebook: aka.ms/dotnet/facebook
Docs: learn.microsoft.com/dotnet
Forums: aka.ms/dotnet/forums
🙋‍♀️Q&A: aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: aka.ms/learndotnet
#dotnet #csharp

Наука

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

 

9 ноя 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@ianharcourtsmith
@ianharcourtsmith 2 месяца назад
Query syntax is familiar but also out of place, it doesn't fee like C#, and I have seen a lot more of LINQ method syntax being used for EF queries.
@MrKazha0098
@MrKazha0098 4 месяца назад
thanks guys you are the best. 🙏
@user-dd1rx9dg9v
@user-dd1rx9dg9v Месяц назад
love david's beard scratching sound
@davidfowl
@davidfowl Месяц назад
🤣
@kvelez
@kvelez 7 месяцев назад
3:53 LINQ and lambda. var nums = new List() { 14, 200, 83, 94, 5 }; var queries = nums.Where(x => x < 90).OrderBy(x => x).Select(x => x); queries.ToList().ForEach(x => Console.WriteLine(x));
@DickBakerSql
@DickBakerSql 8 месяцев назад
you don't need that ToList()
@cristiancapusan9149
@cristiancapusan9149 7 месяцев назад
I guess he was trying to explain that whenever you execute that ToList() method, that is the moment when the query actually runs.
@jessedv5915
@jessedv5915 Месяц назад
The 'ToList()' method is part of the LINQ (Language Integrated Query) extension methods and is available for any collection that implements the 'IEnumerable' interface. The primary advantage of 'ToList()' lies in its ability to convert collections into dynamic lists, which can grow or shrink in size dynamically What google says
Далее
ХЕРЕЙД БОИТСЯ МОЕЙ СОБАКИ!
37:08
Nurse's dream !! 😂😂
00:17
Просмотров 3,7 млн
Make Your LINQ Up to 10x Faster!
11:08
Просмотров 54 тыс.
Deep Dive on LINQ with Stephen Toub
1:23:59
Просмотров 55 тыс.
The weirdest way to loop in C# is also the fastest
12:55
LINQ + Lambda expressions - C# tutorial
6:14
Просмотров 102 тыс.
Так ли Хорош Founders Edition RTX 4080 ?
13:00
Красиво, но телефон жаль
0:32
Просмотров 220 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33