public static int MainMethod()
 {
     dynamic p = new Derived();
     return p.Foo();
 }
Пример #2
0
        public static int MainMethod()
        {
            dynamic p = new Derived();

            return(p.Foo());
        }