Example #1
0
 public void addTeacher(Teacher t)
 {
     if (teacherArr.Length < 4)
     {
         int currentCount = Student.countStudents();
         teacherArr[currentCount - 1] = t;
     }
 }
Example #2
0
 public void addStudent(Student s)
 {
     if (studentArr.Length < 4)
     {
         int currentCount = Student.countStudents();
         studentArr[currentCount - 1] = s;
     }
 }
Example #3
0
 public int countStudents()
 {
     return(Student.countStudents());
 }