using System.Collections.Generic;
public Student(string name, int age)
public string Name {get;set;}
public int Total {get;set;}
public Grade (string name) {
List<Student> a = new List<Student>();
public void Addstudent (Student t) {
public static void Main()
Grade a = new Grade ("5");
Student b = new Student("Q1",5);
Student c = new Student("Q2",15);
Student d = new Student("Q3",12);
Student e = new Student("Q1",11);
Student f = new Student("Q1",9);
Console.WriteLine(a.Total);