示例#1
0
        static void Main(string[] args)
        {
            University university = new TechnicalCourse();

            university.StartProcess();
            Console.WriteLine();
            university = new NonTechnicalCourse();
            university.StartProcess();
            Console.Read();
        }
示例#2
0
        static void Main(string[] args)
        {
            University mumbaiUniversity = new TechnicalCourse();

            mumbaiUniversity.StartProcess();
            Console.WriteLine();
            University puneUniversity = new NonTechnicalCourse();

            puneUniversity.StartProcess();

            Console.ReadLine();
        }