Say I have a Point:
public class Point
{
double X, Y;
}
I want to get the index of the element inside List<Point> that satisfy a condition, for example, with the maximum Point.X value inside List<Point>.
How would I do that with a LINQ expression?