コード例 #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
ファイル: Program.cs プロジェクト: alekoundas/Assignment
        //-----------------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);
        }