Esempio n. 1
0
 static void Main(string[] args)
 {
     BaseClass a = new SonClass();
      //IL_0008:  callvirt   instance void ConsoleApplication2.BaseClass::func()
     a.func();
     SonClass s = new SonClass();
     //IL_0015:  callvirt   instance void ConsoleApplication2.BaseClass::func()
     s.func();
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            BaseClass a = new SonClass();

            //IL_0008:  callvirt   instance void ConsoleApplication2.BaseClass::func()
            a.func();
            SonClass s = new SonClass();

            //IL_0015:  callvirt   instance void ConsoleApplication2.BaseClass::func()
            s.func();
        }