Point Max = Points.MaxBy(p => p.Y);
Point Min = Points.MinBy(p => p.Y);
This is using MoreLINQ.
2
solved How to get from points array points with biggest Y and smallest Y? [closed]
Point Max = Points.MaxBy(p => p.Y);
Point Min = Points.MinBy(p => p.Y);
This is using MoreLINQ.
2
solved How to get from points array points with biggest Y and smallest Y? [closed]