using System.Collections.Generic;
public string Name{set; get;}
public int Age{set; get;}
public Student (String Name, int Age){
public string Name{set; get;}
public Grade (String Name)
List <Student> a = new List <Student> ();
public void AddStudents(Student t)
public static void Main()
Student s1 = new Student ("Sylvia", 20 );
Student s2 = new Student ("Awe", 22 );
Student s3 = new Student ("Sylvia", 20 );
Student s4 = new Student ("Sylvia", 20 );
Student s5 = new Student ("Sylvia", 20 );
Grade z1 = new Grade("BBS");
Grade z2 = new Grade("BCA");
Console.WriteLine("Total No in BBS is:" + z1.No);
Console.WriteLine("Total No in BCA is:" + z2.No);