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

            return(p.Foo(1));
        }