//Init's sclass
 public void Set()
 {
     sclass = new Class(23, "Tim");
     sclass.AddStudent(0, "Gavin", GENDER.MALE);
     sclass.AddStudent(1, "Sean", GENDER.MALE);
     sclass.AddStudent(2, "Rob", GENDER.MALE);
     sclass.AddStudent(3, "Dave", GENDER.MALE);
 }
 public void TestMethod1()
 {
     sclass = new Class(23, "Tim");
     sclass.AddStudent(0, "Gavin", GENDER.MALE);
     sclass.AddStudent(1, "Sean", GENDER.MALE);
     sclass.AddStudent(2, "Rob", GENDER.MALE);
     sclass.AddStudent(3, "Dave", GENDER.MALE);
     sclass.AddStudent(4, "Paul", GENDER.MALE);
     sclass.AddStudent(5, "Jamie", GENDER.MALE);
     sclass.AddStudent(6, "Emma", GENDER.FEMALE);
     sclass.AddStudent(7, "Hazel", GENDER.FEMALE);
     sclass.AddStudent(8, "Emily", GENDER.FEMALE);
 }
        static void Main(string[] args)
        {
            Student s = new Student(1, "Gavin", GENDER.MALE);

            Class sclass = new Class(2, "Tom");
            sclass.AddStudent(2, "Bob", GENDER.MALE);
            sclass.AddStudent(3, "Lucy", GENDER.FEMALE);
            sclass.AddStudent(4, "Sarah", GENDER.FEMALE);
            sclass.AddStudent(5, "Richard", GENDER.MALE);
            sclass.AddStudent(2, "Mia", GENDER.FEMALE);

            sclass[3] = s;
            sclass[4] = s;

            Console.WriteLine(sclass[3].ToString());
            Console.WriteLine(sclass[2].ToString());

            Console.Read();
        }