假设我有一个如下定义的接口: public interface IFunctionality { void Method(); } 我为抽象类实现了这个接口,如下所示: public abstract class AbstractFunctionality: IFunctionality { public void Method() { Console.WriteLine("Abstract stuff" + "\n"); } } 再次我有一个具体的类inheritance抽象类如下: public class ConcreteFunctionality: AbstractFunctionality { public void Method() { Console.WriteLine("Concrete stuff" + "\n"); } } 现在我有下面的代码, ConcreteFunctionality mostDerived = new ConcreteFunctionality(); AbstractFunctionality baseInst = mostDerived; IFunctionality interfaceInst = mostDerived; […]