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
.MinBy()
.MaxBy()
I cannot find them
.net framework
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
Thanks
It is unity 2021
Probably, it uses the old version
Unity is outdated to hell and back, yes
thanks
Also, please add unity in tags
✅ This post has been marked as answered!