Пример #1
0
 public static void SyntheticTeachers(PrivateSchool CodingBootcamp)
 {
     CodingBootcamp.AddTrainer("Fwtini", "Psychogiou", "C#");
     CodingBootcamp.AddTrainer("Amalia", "Papa", "JAVA");
     CodingBootcamp.AddTrainer("Dimitra", "Doyka", "C#");
     CodingBootcamp.AddTrainer("Stela", "Pyrgaki", "JAVA");
 }
Пример #2
0
 public static void SyntheticTeachers(PrivateSchool CodingBootcamp, int times)
 {
     for (int i = 0; i < times; i++)
     {
         CodingBootcamp.AddTrainer("Fwtini", "Psychogiou", "C#");
     }
 }
Пример #3
0
        //-----------------Intput For Trainer------------------\\
        static void add_teacher(PrivateSchool CodingBootcamp)
        {
            string name    = CommonTools.NameTrainerInput();
            string lname   = CommonTools.LastnameTrainerInput();
            string subject = CommonTools.SubjectTrainerInput();

            CodingBootcamp.AddTrainer(name, lname, subject);
        }