using System;
using System.Linq;
public class Program
{
public static void Main()
var people = new[]
new
Name = "Vernon",
Age = 21
},
Name = "Carrie",
Age = 24
Name = "Joanna",
Age = 20
}
};
var max = people.Max(arg => arg.Age);
Console.WriteLine(max);