static void Main()
        {
            School school = new School("NPMG");
            List<Disciple> disciplines = LoadDisciplines();
            Teacher dimo = new Teacher("Dimo Padalski", disciplines);

            Course geography = new Course("Geography");
            geography.AddTeacher(dimo);
            school.AddCourse(geography);

            Teacher dimo2 = new Teacher("Dimo Padalski II", disciplines);

            Course geography2 = new Course("Geography2");
            geography2.AddTeacher(dimo2);
            school.AddCourse(geography2);

            Console.WriteLine(PrintSchoolInfo(school));
        }
Beispiel #2
0
        static void Main()
        {
            School          school      = new School("NPMG");
            List <Disciple> disciplines = LoadDisciplines();
            Teacher         dimo        = new Teacher("Dimo Padalski", disciplines);

            Course geography = new Course("Geography");

            geography.AddTeacher(dimo);
            school.AddCourse(geography);

            Teacher dimo2 = new Teacher("Dimo Padalski II", disciplines);

            Course geography2 = new Course("Geography2");

            geography2.AddTeacher(dimo2);
            school.AddCourse(geography2);

            Console.WriteLine(PrintSchoolInfo(school));
        }