Every Single LINQ Extension Method With Examples | .NET & C# Essentials

preview_player
Показать описание
In today's video we're going to cover every single LINQ extension method with examples.

We're going to cover immediate execution vs deferred execution - what's the difference between them and whether or not immediate execution necessarily means iterating over the entire list and realizing the LINQ query.

Connect with me on 'em socials:

Check out all my courses on DomeTrain:

Support the channel and get the source code:

Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻

00:00. Opening
01:14. Where
01:40. OfType
02:24. Skip
02:35. Take
02:42. SkipLast & TakeLast
02:58. SkipWhile & TakeWhile
04:14. Select
04:36. Select with index
05:01. SelectMany
06:41. SelectMany with index
07:04. Cast
07:20. Chunk
07:58. Deferred Execution vs Immediate Execution
10:55. Any
11:20. All
11:44. Contains
11:55. Append & Prepend
12:41. Count
13:34. TryGetNonEnumeratedCount
14:51. Max
15:16. MaxBy
17:02. Min & MinBy
17:19. Sum
17:59. Average
18:06. LongCount
18:20. Aggregate (overload 1)
19:58. Aggregate (overload 2)
20:20. Aggregate (overload 3)
21:43. First & FirstOrDefault
22:34. Single & SingleOrDefault
24:06. Last & LastOrDefault
24:38. ElementAt & ElementAtOrDefault
25:04. DefaultIfEmpty
25:41. ToArray
25:50. ToList
25:57. ToDictionary
26:29. ToHashSet
26:35. ToLookup
27:46. ToEnumerable & ToQueryable
28:32. Enumerable.Range
29:28. Enumerable.Repeat
29:38. Enumerable.Empty
30:12. Distinct
30:26. DistinctBy
30:59. Set Operations Theory (Union, Intersect, Except)
32:27. Union
32:37. Intersect
32:44. Except
32:52. UnionBy & IntersectBy & Except
33:40. SequenceEqual
34:26. Zip
35:43. Join
37:05. GroupJoin
37:38. Concat
38:05. GroupBy
39:25. Order
39:41. OrderBy
40:10. OrderDescending & OrderByDescending
40:21. ThenBy & ThenByDescending
41:20. Reverse
41:36. PLINQ
Рекомендации по теме
Комментарии
Автор

Cheers 🥂

01:14. Where
01:40. OfType
02:24. Skip
02:35. Take
02:42. SkipLast & TakeLast
02:58. SkipWhile & TakeWhile
04:14. Select
04:36. Select with index
05:01. SelectMany
06:41. SelectMany with index
07:04. Cast
07:20. Chunk
07:58. Deferred Execution vs Immediate Execution
10:55. Any
11:20. All
11:44. Contains
11:55. Append & Prepend
12:41. Count
13:34. TryGetNonEnumeratedCount
14:51. Max
15:16. MaxBy
17:02. Min & MinBy
17:19. Sum
17:59. Average
18:06. LongCount
18:20. Aggregate (overload 1)
19:58. Aggregate (overload 2)
20:20. Aggregate (overload 3)
21:43. First & FirstOrDefault
22:34. Single & SingleOrDefault
24:06. Last & LastOrDefault
24:38. ElementAt & ElementAtOrDefault
25:04. DefaultIfEmpty
25:41. ToArray
25:50. ToList
25:57. ToDictionary
26:29. ToHashSet
26:35. ToLookup
27:46. ToEnumerable & ToQueryable
28:32. Enumerable.Range
29:28. Enumerable.Repeat
29:38. Enumerable.Empty
30:12. Distinct
30:26. DistinctBy
30:59. Set Operations Theory (Union, Intersect, Except)
32:27. Union
32:37. Intersect
32:44. Except
32:52. UnionBy & IntersectBy & Except
33:40. SequenceEqual
34:26. Zip
35:43. Join
37:05. GroupJoin
37:38. Concat
38:05. GroupBy
39:25. Order
39:41. OrderBy
40:10. OrderDescending & OrderByDescending
40:21. ThenBy & ThenByDescending
41:20. Reverse
41:36. PLINQ

amantinband
Автор

Dude this is the best video I have ever watched on this subject. You crushed this. No stumbling, no half-assing, no confusion. You were well prepared and taught everything perfectly. Just wanted to comment to let you know.

drhdev
Автор

There's no reason why I should not like this video. Amazing effort, thank you Amichai 🙏

darrenleeyx
Автор

Liked and already subscribed. Am waiting for the PLINQ course! Never heard or used PLINQ but sounds useful. Thanks you!

PaulPetersVids
Автор

Phenomenal and comprehensive guide! Incredibly helpful! Thanks

LucasAlves
Автор

Best LINQ video in my opinion, and the only one you need to understand the topic, I just clicked on a whim, but I am glad that I did, thank you so much for making it.

_OsamaAmir
Автор

Marvelous, love such style of video that introduces bcl

ruichen
Автор

Best LINQ video ever. I’ve been using LINQ for a long time and didn’t know half of these methods. 😃👍🏼

SmittyRG
Автор

This is amazing indeed!! I have subscribed immediately.

imadayoub
Автор

This is gold. Thank you for the video :)

MDimitrovv
Автор

I'm not a developer, but I do write code to test software, and I learnt some very nice things here. Great video!

Radictor
Автор

Good vid. I have been doing c# among many languages for over 10 years now. Somethings if you never need it you just dont get to learning it yet from being busy so nice people make these vids.

FromRootsToRadicals_INTP
Автор

thanks for covering all the LINQ methods 🙌🙌🙌🙌 . waiting for PLINQ

MAdeelFaryad
Автор

Learned a bit about the lesser used LINQ extensions.

nove
Автор

Thanks, man... no bullshit... just an explanation...

youcontaromulo-yevs
Автор

Great work. Thanks a lot!
Consider making a tutorial about all types of lists :)

mefju
Автор

Amazing video! So much effort; thank you.

Once small point, I would cover the overload of Zip that takes a collection and a Func as an argument.

That is probably one of the more powerful functions in Linq and strangely very few seem to know about it (it's up there with Aggregate)!

One of my favorites is to check if a list is ordered (there are probably simpler ways but this is pretty show-offish) :

var isOrdered = !list1.Zip(list1.Skip(1), (a, b) => a.Val <= b.Val).Contains(false);

BeatusCanis
Автор

great video !!
one more thing, is there any way to share your README file on this video ? (look like the whole function list)

kaiyuanliu
Автор

Your explanations are really simple enough and easy to listen and follow. I also have a question, what is the on screen drawing tool you are using?

tunchy
Автор

Amazing video one of the best about LINQ Extension Method
but could you please share readme markdown file
thank you alot for your effort

CodesHunter