谁帮忙把这段MSIL代码转换为C#的?谢谢了
如题,或者告诉我当中IL_0000,IL_0001..是什么意思这段看不懂?最好能翻译成C#谢谢各位代码如下:
.method public hidebysig static string cc381ffa3ede662f(string e4115acdf4fbfccc,
int32 p1) cil managed
{
// 代码大小 52 (0x34)
.maxstack 5
.locals init (char[] V_0,
int32 V_1)
IL_0000: ldarg.0
IL_0001: br.s IL_0015
IL_0003: sub
IL_0004: conv.u2
IL_0005: stelem.i2
IL_0006: ldarg.1
IL_0007: ldc.i4 0x6fd
IL_000c: add
IL_000d: starg.s p1
IL_000f: ldloc.1
IL_0010: ldc.i4.1
IL_0011: add
IL_0012: stloc.1
IL_0013: br.s IL_0027
IL_0015: callvirt instance char[] [mscorlib]System.String::ToCharArray()
IL_001a: stloc.0
IL_001b: ldc.i4.0
IL_001c: stloc.1
IL_001d: br.s IL_0027
IL_001f: ldloc.0
IL_0020: ldloc.1
IL_0021: ldloc.0
IL_0022: ldloc.1
IL_0023: ldelem.u2
IL_0024: ldarg.1
IL_0025: br.s IL_0003
IL_0027: ldloc.1
IL_0028: ldloc.0
IL_0029: ldlen
IL_002a: conv.i4
IL_002b: blt.s IL_001f
IL_002d: ldloc.0
IL_002e: newobj instance void [mscorlib]System.String::.ctor(char[])
IL_0033: ret
} // end of method d4485e5ae14ac128::cc381ffa3ede662f
--------------------编程问答--------------------
补充:.NET技术 , C#