扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:维维编译 来源:天极开发 2007年11月11日
关键字:
方法 | 代码编译为 | |
1 | expr . identifier ( ) | identifier (expr) |
2 | expr . identifier ( args ) | identifier (expr, args) |
3 | expr . identifier <typeargs> ( ) | identifier <typeargs> (expr) |
4 | expr . identifier <typeargs> ( args ) | identifier <typeargs> (expr, args) |
.method private hidebysig static void Main(string[] args) cil managed { .entrypoint // Code size 42 (0x2a) .maxstack 1 .locals init ([0] string s, [1] int32 i, [2] int32 j) IL_0000: nop IL_0001: ldstr "9" IL_0006: stloc.0 IL_0007: ldloc.0 IL_0008: call int32 ExtensionMethods.EMClass::ToInt32Ext(string) IL_000d: stloc.1 IL_000e: ldloc.1 IL_000f: call void [mscorlib]System.Console::WriteLine(int32) IL_0014: nop IL_0015: ldloc.0 IL_0016: call int32 ExtensionMethods.EMClass:: ToInt32Static(string) IL_001b: stloc.2 IL_001c: ldloc.2 IL_001d: call void [mscorlib]System.Console::WriteLine(int32) IL_0022: nop IL_0023: call string [mscorlib]System.Console::ReadLine() IL_0028: pop IL_0029: ret } // end of method Program::Main IL_0008: call int32 ExtensionMethods.EMClass:: ToInt32Ext(string) |
a = MyLibraryClass. |
a = MyLibraryClass.DesiredFunction(strName) |
a = strName. |
a = strName.DesiredFunction() |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者