public int H { get; set; }
public int G { get; set; }
public override string ToString()
public static void Main()
new Hey { H = 1, G = 2 },
new Hey { H = 3, G = 5 },
new Hey { H = 0, G = 1 },
new Hey { H = 0, G = 9 },
new Hey { H = 3, G = 4 },
Console.WriteLine(heys.OrderByDescending(t => t.H).First());
Console.WriteLine(heys.OrderByDescending(t => t.G).First());