Generating assembly code from C# code?

后端 未结 4 1658
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 06:41

Is there any way to generate assembly code from C# code? I know that it is possible with C code with GAS, but does anybody know if it\'s possible with C#?

4条回答
  •  醉话见心
    2020-12-19 06:57

    C# code compiles into MSIL (MS Intermediate Language) which is actually not really asm-code you get from C compiler. Read more about about how .NET Framework applications run.

    If you want to look at generated IL code see this question.

提交回复
热议问题