阅读背景:

在类上调用静态方法?

来源:互联网 

Say, I have a reference to a Class object with SomeType having a static method. Is there a way to call that method w/o instantiating SomeType first? Preferably not escaping strong typing.Say, I have a reference to a Class object with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: