public static void Main()
        {
            Student studentOne = new Student("John Snow", 12);
            Student studentTwo = new Student("Sansa Stark", 13);
            Student studentThree = new Student("Brayen Stark", 14);
            Student studentFour = new Student("Aya Stark", 10);

            Teacher teacherOne = new Teacher("Gosho ot Pocivka");
            Teacher teacherTwo = new Teacher("100 Kila");
            Teacher teacherThree = new Teacher("Misho Shamara");

            Discipline music = new Discipline("Music", 2, 1234);
            Discipline selfConfidence = new Discipline("SelfConfidence", 2, 1232);
            Discipline ridding = new Discipline("Ridding", 2, 1231);

            ClassOfStudents classStark = new ClassOfStudents("The North");
            classStark.SetOfTeachers.Add(teacherOne);
            classStark.SetOfTeachers.Add(teacherTwo);
            classStark.SetOfTeachers.Add(teacherThree);
            // Console.WriteLine(classStark.SetOfTeachers[0]);

            teacherOne.SetOfDisciplines.Add(music);
            teacherOne.SetOfDisciplines.Add(selfConfidence);
            teacherTwo.SetOfDisciplines.Add(music);
            teacherThree.SetOfDisciplines.Add(music);
            teacherThree.SetOfDisciplines.Add(ridding);
            // Console.WriteLine(teacherOne.SetOfDisciplines[0]);

            School tooCloseToTheWall = new School();
            tooCloseToTheWall.SetOfClassesOfStudents.Add(classStark);

            // Console.WriteLine(tooCloseToTheWall.SetOfClassesOfStudents[0].UniqueTextIdentifier);

            // Console.WriteLine(classStark.MakeAComent("We hate Lannisters"));
            // Console.WriteLine(teacherOne.MakeAComent("Bieme gi vsichki ve mein"));
            // Console.WriteLine(music.MakeAComent("Bummers"));
            // Console.WriteLine(studentFour.MakeAComent("I have a list of people to kill"));
        }
Example #2
0
 public void AddDiscipline(Discipline addedDiscipline)
 {
     disciplines.Add(addedDiscipline);
 }
Example #3
0
 public Teacher(string name, Discipline enteredDiscipline) : base(name)
 {
     disciplines = new List <Discipline>();
     disciplines.Add(enteredDiscipline);
 }