Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个类 Class1 和 Program a 如下所示:
class Class1 { public void xx() { } } class Program : Class1 { static void Main(string[] args) { } }
但是当我看到方法表时,我看不到 Program 类中继承的公共函数。为什么会发生这种情况?我认为继承的方法应该存在于方法表程序类中。