New LINQ Methods in .NET 9 🚀

  Рет қаралды 3,940

Patrick God

Patrick God

Күн бұрын

🚀 Join the .NET Web Academy: learn.dotnetwebacademy.com
💖 Support me on Patreon for exclusive source code access: / _patrickgod
🐦 Let's get social on Twitter/X: / _patrickgod
🔗 Let's connect on LinkedIn: / patrickgod
🚀 Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com

Пікірлер: 16
@FQTo
@FQTo Ай бұрын
The baby will have 10 years of experience working with programming by the age of 20 when he applies for jobs.😁
@b_vingt_six
@b_vingt_six Ай бұрын
🤣🤣🤣🤣🤣
@wassollderscheiss33
@wassollderscheiss33 Ай бұрын
I had 14 years of experience when I was 20 and actually invented Facebook in 1992 (age 14) and I'm still poor now while idiots rule the world. Talent is nothing. Your parents providing you with money and/or connections is everything. No matter your abilities.
@jbot8530
@jbot8530 Ай бұрын
Thanks you and your baby, :)
@ruslan_yefimov
@ruslan_yefimov Ай бұрын
I love these - thanks for keeping us updated!
@FizWiz91
@FizWiz91 Ай бұрын
The new LINQ methods in .NET 9: 1. IndexBy(): This one returns a Dictionary for a collection, where the key is the index of "item" in the original collection. I think this is the least useful of the 3 methods. 2. CountBy(): Groups a collection of objects by a property of the object (specified by a lambda expression) and counts the number of items in each group. 3. AggregateBy(): Similar to the array.reduce() function in Javascript. It groups a collection of objects based on a property (specified by a lambda expression). It then adds up the values of a numeric property for each item in each group. Picture a collection of student objects where each object has a Name and Age property (among others). The AggregateBy() linq method is your go-to for calculating the total age of male students and the total age of female students in one expression.
@adamoneil7435
@adamoneil7435 Ай бұрын
nice! love the Index method
@10Totti
@10Totti Ай бұрын
Thanks!
@pezhmanpiramoun2997
@pezhmanpiramoun2997 Ай бұрын
💯
@LukeAvedon
@LukeAvedon Ай бұрын
Just chill Microsoft.
@MassimilianoKraus
@MassimilianoKraus Ай бұрын
C'mon, you can't still use namespaces with { } scope, they're so old style, use file-scope namespaces! 😄They're simpler and you avoid a lot of useless indentation!
@Tony-dp1rl
@Tony-dp1rl Ай бұрын
Talk about unnecessary features that can already be done just as easily in other ways ... Is there a committee somewhere whose entire job is making the language libraries more complex?
@1starfight1
@1starfight1 Ай бұрын
Well the goal here is to make the code less complex, of course you can do everything with a for loop if you want :)
@b_vingt_six
@b_vingt_six Ай бұрын
Thanks a lot ❤️ The baby is also LINQ to you 🥹 Amazing 😻
@Gabriel-kl6bt
@Gabriel-kl6bt Ай бұрын
I'd like to see updated full project tutorials, like those from 3y ago.
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
Nick Chapsas
Рет қаралды 88 М.
🌊Насколько Глубокий Океан ? #shorts
00:42
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 24 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 7 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 83 МЛН
You Are WRONG About 0 Based Indexing
25:02
ThePrimeTime
Рет қаралды 244 М.
That's NOT How Async And Await Works in .NET!
12:25
Codewrinkles
Рет қаралды 16 М.
Angular/ThreeJS - Video 013 started UI logs
8:16
Marty Trujillo
Рет қаралды 58
Brutally honest advice for new .NET Web Developers
7:19
Ted's Tech
Рет қаралды 64 М.
A Better Way to Transfer Your Objects in .NET 🚀
11:07
Patrick God
Рет қаралды 10 М.
"Stop Using Async Await in .NET to Save Threads" | Code Cop #018
14:05
Software engineer interns on their first day be like...
2:21
Frying Pan
Рет қаралды 13 МЛН
Create Cascading Dropdowns with Blazor in .NET 8 🔥
22:12
Patrick God
Рет қаралды 5 М.
🌊Насколько Глубокий Океан ? #shorts
00:42