"Person"
public class Person { public string Name { get; set; } public int Age { get; set; } }
List<Person> listOfPerson = new List<Person>();
Person maxAge = listOfPerson.OrderByDescending(p => p.Age).First();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)