Exemple #1
0
        static void Main(string[] args)
        {
            Base b = new Base();
            DerivedA a = new DerivedA();
            DerivedB bd = new DerivedB();

            b.Debug();
            a.Debug();
            bd.Debug();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Base     b  = new Base();
            DerivedA a  = new DerivedA();
            DerivedB bd = new DerivedB();

            b.Debug();
            a.Debug();
            bd.Debug();
        }