且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

基本类型的方法解析

更新时间:2022-05-17 22:17:28

它调用InheritedClassInstance.AnotherMethod()

如果您希望它调用基类AnotherMethod(),则可以编写base.AnotherMethod()

If you wanted it to call the base class AnotherMethod() you would write base.AnotherMethod()