public static int MainMethod()
 {
     Parent p = new Derived();
     return p.Foo();
 }
Exemplo n.º 2
0
        public static int MainMethod()
        {
            Parent p = new Derived();

            return(p.Foo());
        }