Пример #1
0
        private void AddComputerScienceCourse()
        {
            string[]        arr                = ReadCommandForCourses();
            ComputerScience course             = new ComputerScience(arr[0], arr[1]);
            int             adminFacultyNumber = GetValidNumber(arr[2], "Faculty Number");

            University.AddCourses(course, adminFacultyNumber);
        }
Пример #2
0
        static void Main(string[] args)
        {
            BasicEngineering sc = new ComputerScience();

            Console.WriteLine("Computer Sc. Papers:");
            sc.Papers();
            Console.WriteLine("");

            BasicEngineering el = new Electronics();

            Console.WriteLine("Electronics Papers");
            el.Papers();

            Console.ReadLine();
        }