Esempio n. 1
0
        static void Main(string[] args)
        {
            Disciplines Biology = new Disciplines("Биология", 1, 5);
            Disciplines Chemistry = new Disciplines("Химия", 1, 5);
            Disciplines Physics = new Disciplines("Физика", 1, 5);

            Teacher Jorge = new Teacher("Георги Петров").AddDiscipline(Biology,Chemistry,Physics);
            Student Pesho = new Student(1,"Пешо Вървев");
            Student Jon = new Student(2, "Джон Ленън");

            Grade A10 = new Grade("Klas 10a").AddStudent(Pesho).AddTeacher(Jorge);
        }
Esempio n. 2
0
        public Grade RemoveTeacher(Teacher teacher)
        {
            this.teachers.Remove(teacher);

            return this;
        }