前言: 现在正在读<你必须知道的.net>(第二版)一书,看到IL语言那一章,将call.callvirt和calli时候,书中举了一个例子,是一个三层继承的例子,我一开始看的时候就有点懵. 代码如下: class Program { static void Main(string[] args) { Father son = new Son(); son.DoWork(); son.DoVirtualWork(); son.DoVirtualAll(); Father aGrandson =…