本文介绍了如何访问已编译.NET程序集的MSIL代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
VB.NET 和 C#(和其他语言)编译器生成MSIL代码.我怎么看那个代码?
VB.NET and C# (and other language) compilers generate MSIL code. How can I see that code?
该文件中有什么?该文件驻留在哪里,我该如何访问?
What is there in that file? Where does that file reside and how can I access that?
第二个问题:
如何从cmd
提示符下编译C#程序,以及如何检查使用该编译器创建的每个文件?
How do I compile a C# program from the cmd
prompt and how do I check each and every file created using that compiler?
推荐答案
托管的DLL和EXE位于MSIL中.
Managed DLLs and EXEs are in MSIL.
您可以使用 ildasm.exe 查看MSIL.
You can see the MSIL using ildasm.exe.
这篇关于如何访问已编译.NET程序集的MSIL代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!