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

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

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

            puneUniversity.StartProcess();

            Console.ReadLine();
        }