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

            return(p.Foo());
        }