Example #1
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();
            e1.accept();

            MedStudent m1 = new MedStudent();
            m1.accept();

            Console.WriteLine(e1);
            Console.WriteLine(m1);
            Console.ReadLine();
        }
Example #2
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();
            e1.accept();

            MedStudent m1 = new MedStudent();
            m1.accept();

            e1.display();
            m1.display();
            Console.ReadLine();
        }
Example #3
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();

            e1.accept();

            MedStudent m1 = new MedStudent();

            m1.accept();

            e1.display();
            m1.display();
            Console.ReadLine();
        }
Example #4
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();

            e1.accept();

            MedStudent m1 = new MedStudent();

            m1.accept();

            Console.WriteLine(e1);
            Console.WriteLine(m1);
            Console.ReadLine();
        }