using System.Collections.Generic;
public string Name { get; set; }
public double GPA { get; set; }
public static void Main()
var students = new List<Student>
new Student { Name = "Alice", GPA = 3.8 },
new Student { Name = "Bob", GPA = 3.2 },
new Student { Name = "Charlie", GPA = 3.9 },
new Student { Name = "David", GPA = 3.4 },
new Student { Name = "Eve", GPA = 3.7 }