public static int MainMethod()
 {
     dynamic p = new Derived();
     return p.Foo();
 }
コード例 #2
0
        public static int MainMethod()
        {
            dynamic p = new Derived();

            return(p.Foo());
        }