I have a list that contains a bunch of Points (with an X and Y component).
I want to get the Max X for all points in the list, like this:
double max
double max = pointList.Where(p=>p != null).Max(p=>p.X)
Should work.