Тёмный

LINQ Query Expressions From, Where, Orderby, and Select [Pt 16] | C# for Beginners 

dotnet
Подписаться 294 тыс.
Просмотров 16 тыс.
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
In this video, Scott and David dive into query expression basics. Discover the tools you can use to query data to find, filter, sort, or analyze data sources. Along the way, leverage the syntax you learned from previous videos in the series.
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

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@sampruett6701
@sampruett6701 3 месяца назад
Best part about this video is “IEnumberable is the question and not the answer.” Such a great point, and helps to understand the movenext concept under the covers.
@1015AK
@1015AK 6 месяцев назад
After searching for what seemed like hundreds of C# beginner intro tutorials so I understood basic stuff so I could get more confident in diving into the docs, I wanted to say that this series has been a lifesaver. You two are great at what you do. Don't stop! Keep making even more tutorials together whether it be certain things about C# or continuing this series. You two just have such a great chemistry where you switch roles between student and teacher and often ask questions to each other we are thinking to ourselves while we are learning. Fantastic job guys.
@kvelez
@kvelez 8 месяцев назад
5:34 Interpolation. 8:47 Cat var nums = new List() { 14, 200, 83, 94, 5 }; var queries = from num in nums orderby num ascending where num < 90 select num; queries.ToList().ForEach(x => Console.WriteLine($"Num: {x}")); Console.WriteLine(queries.Count()); // queries made Console.WriteLine();
@kuje89
@kuje89 8 месяцев назад
Grazie mille per questa lezione!
@gttrackpro9433
@gttrackpro9433 2 месяца назад
part 16. till this part i didn't see any ads appears in video 😂. what a focus learning 🤗
@kisszajbert1
@kisszajbert1 3 месяца назад
Thank you Gentlemen!
@safehaven6544
@safehaven6544 5 месяцев назад
I'm a senior dev I don't know how LINQ works hahaha thank you !
@sanampakuwal
@sanampakuwal 5 месяцев назад
what
@AthelstanEngland
@AthelstanEngland 14 дней назад
Is LINQ slower in operation than simply iterating through the original list? For most instances I guess it doesn't matter but for a larger dataset and perhaps several where clauses is it significant?
@aids2132
@aids2132 4 месяца назад
they're so cool
@gttrackpro9433
@gttrackpro9433 2 месяца назад
i don't know why, it will ber very readable if the LINQ Query update to "select score in scores where score > 80 order score descending" because it use multiple time "score" from score, at the end select score. uhh so weird 😒
@gilbertigwegbe9481
@gilbertigwegbe9481 8 месяцев назад
First time hearing David Fowler talk... definitely not what I was expecting him to sound like 😅 But great lesson though.
@davidfowl
@davidfowl 7 месяцев назад
😅
@jessedv5915
@jessedv5915 2 месяца назад
List names = ["Sam", "John", "Xavior", "Ash", "Mick"]; names.Sort(); IEnumerable namesQuery = from name in names select name; Console.WriteLine($"There are {names.Count()} names"); foreach (string s in names) { Console.WriteLine($"The name {s} has {s.Length} letters "); } this was really fun to write but how do i get only name with more than like 4 letters
@jessedv5915
@jessedv5915 2 месяца назад
Is Linq still applicable if you use Strings like me?
@John-Dawg677
@John-Dawg677 Месяц назад
Inside your foreach, you can add an IF statement enclosing the console writeline foreach (string s in names) { *if(s.Length > 4)* Console.WriteLine($"The name {s} has {s.Length} letters "); }
Далее
Compiling & Executing C++ Programs (VS Code)
13:42
Просмотров 258 тыс.
Вопрос Ребром - Субо
49:41
Просмотров 1,4 млн
how Google writes gorgeous C++
7:40
Просмотров 833 тыс.
How IEnumerable can kill your performance in C#
11:02
Просмотров 115 тыс.
The weirdest way to loop in C# is also the fastest
12:55
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 20 тыс.
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 20 тыс.