예제 #1
0
 public static void SyntheticCourses(PrivateSchool CodingBootcamp)
 {
     CodingBootcamp.AddCource("C# - Full Time", "Full Time", "C#", new DateTime(2019, 1, 1), new DateTime(2019, 3, 1));
     CodingBootcamp.AddCource("C# - Part Time", "Part Time", "C#", new DateTime(2019, 1, 1), new DateTime(2019, 6, 1));
     CodingBootcamp.AddCource("JAVA - Full Time", "Full Time", "JAVA", new DateTime(2019, 1, 1), new DateTime(2019, 3, 1));
     CodingBootcamp.AddCource("JAVA - Full Time", "Part Time", "JAVA", new DateTime(2019, 1, 1), new DateTime(2019, 6, 1));
 }
예제 #2
0
 public static void SyntheticCourses(PrivateSchool CodingBootcamp, int times)
 {
     for (int i = 0; i < times; i++)
     {
         CodingBootcamp.AddCource("C# - Full Time", "Full Time", "C#", new DateTime(2019, 1, 1), new DateTime(2019, 3, 1));
     }
 }
예제 #3
0
        //-----------------Intput For Course------------------\\
        static void add_course(PrivateSchool CodingBootcamp)
        {
            string   title     = CommonTools.TitleCourseInput();
            string   stream    = CommonTools.StreamCourseInput();
            string   type      = CommonTools.TypeCourseInput();
            DateTime StartDate = CommonTools.StartEndDateCourseInput(out DateTime EndDate);

            CodingBootcamp.AddCource(title, stream, type, StartDate, EndDate);
        }