예제 #1
0
파일: Program.cs 프로젝트: Vlanta/CspBase
 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();
 }
예제 #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();
        }