예제 #1
0
        static void Main(string[] args)
        {
            University.Collections.University university = new Collections.University();

            Student  student  = new Student("Neznaiko", "1", new DateTime(1, 2, 3, 4, 5, 6), 1, "KPI", 8);
            Enrollee enrollee = new Enrollee("Samiy Umniy", "1", new DateTime(5, 2, 2, 4, 3, 1), 200, 100);
            Lecturer lecturer = new Lecturer("Javist", "1", new DateTime(4, 2, 3, 7, 8, 6), "Java", "KPI");


            university.Add(student);
            university.Add(enrollee);
            university.Add(lecturer);

            university.Show();

            Console.ReadKey();
        }
예제 #2
0
파일: Program.cs 프로젝트: toStars21/Term-4
        static void Main(string[] args)
        {
            University.Collections.University university = new Collections.University();

            Student  student  = new Student("Test", "1", new DateTime(1, 2, 3, 4, 5, 6), 1, "KPI", 8);
            Enrollee enrollee = new Enrollee("Test", "1", new DateTime(1, 2, 3, 4, 5, 6), 200, 100);
            Lecturer lecturer = new Lecturer("Test", "1", new DateTime(1, 2, 3, 4, 5, 6), "Subject", "KPI");


            university.Add(student);
            university.Add(enrollee);
            university.Add(lecturer);

            university.Show();

            Console.ReadKey();
        }