static void Main(string[] args) { StudentsGroup group_001 = new StudentsGroup("No. 001", 3); Teacher examiner = new Teacher("Kajiura", "Yuki", "Spesial computer systems"); Exam exam1 = new Exam("Technologies of secure programming", examiner, group_001); Exam exam2 = new Exam("Web Technologies", examiner, group_001); for (var i = 0; i < group_001.ListOfStudents.Length; i++) { group_001.AddStudent(); } exam1.ProcessExam(); exam1.ResultExam(); group_001.AddStudent(); group_001.RemoveStudent(); group_001.AddStudent(); exam2.ProcessExam(); exam2.ResultExam(); Console.ReadLine(); }
public Exam(string academicDiscipline, Teacher examiner, StudentsGroup studentsGroup) { this.academicDiscipline = academicDiscipline; this.examiner = examiner; this.studentsGroup = studentsGroup; }