C
Join ServerC#
help
Why are Linq methods incomplete? (MinBy, MaxBy, etc.) [Answered]
GGladiator11/18/2022
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
AAngius11/18/2022
.MinBy()
.MaxBy()
GGladiator11/18/2022
I cannot find them
GGladiator11/18/2022
.net framework
AAngius11/18/2022
Ah, oof, ouch owie
AAngius11/18/2022
They're a .NET 6 thing
AAngius11/18/2022
Ancient versions of Framework won't support newer features, I'm afraid
AAngius11/18/2022
That's just how it is
GGladiator11/18/2022
Thanks
GGladiator11/18/2022
It is unity 2021
GGladiator11/18/2022
Probably, it uses the old version
AAngius11/18/2022
Unity is outdated to hell and back, yes
GGladiator11/18/2022
thanks
GGladiator11/18/2022
Also, please add unity in tags
AAccord11/18/2022
✅ This post has been marked as answered!