Class2(); c2.DoSomething(); ((ISomeInterface)c2).DoSomething(); ((Class1)c2).DoSomething(); Console.ReadLine(); } }} 相关文章: 2021-10-29 2021-12-23 2021-11-20 2021-12-09 2021-06-01 2021-11-08