I have List List, my type contains Age and RandomID
List
Age
RandomID
Now I want to find the maximum age from this list.
What
var maxAge = list.Max(x => x.Age);