public static void Main()
        {
            BaseClass    obj1 = new BaseClass();
            DerivedClass obj2 = new DerivedClass();

            obj1.MethodA();
            obj2.MethodA();
            obj2.MethodA(1);
        }
Beispiel #2
0
        public static void Main()
        {
            BaseClass s = new DerivedClass();

            s.MethodA();
            s.MethodB();
            s.MethodC();
        }
Beispiel #3
0
        public static void Main()
        {
            DerivedClass obj = new DerivedClass();

            obj.MethodA();
        }