C
C#3y ago
Gladiator

Why are Linq methods incomplete? (MinBy, MaxBy, etc.) [Answered]

There is no method to return object by field which is minimum/maximum. I know I can use Aggregate method but it is weird to me Min/Max linq methods does not return the object itself
7 Replies
Angius
Angius3y ago
.MinBy() .MaxBy()
Gladiator
GladiatorOP3y ago
I cannot find them .net framework
Angius
Angius3y ago
Ah, oof, ouch owie They're a .NET 6 thing Ancient versions of Framework won't support newer features, I'm afraid That's just how it is
Gladiator
GladiatorOP3y ago
Thanks It is unity 2021 Probably, it uses the old version
Angius
Angius3y ago
Unity is outdated to hell and back, yes
Gladiator
GladiatorOP3y ago
thanks Also, please add unity in tags
Accord
Accord3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server