This may be a dumb question, but is there a compiler for IL code, similar to that shown by Reflector in IL mode?
NET uses two compilers, Roslyn, to compile C# or VB code into CIL (common intermediate language), and RyuJIT, to run just-in-time compilation of CIL into native code. Both compilers are highly regarded by the . NET community as Microsoft actively improves them.
For C# this intermediate code is called Common Intermediate Language (CIL, or just IL). Most Portable Executable (PE) files compiled and assembled from C#, whether . dll or .exe, are simply composed of IL and its corresponding metadata.
In addition to SLaks's answer, compiling to IL enables a degree of cross-language interoperability that generally doesn't exist in interpreted languages. This advantage can be huge for new languages.
That's because the . NET framework is a Top-Level Domain (TLD) which was initially developed for networking technology, but now supports multiple programming languages such as Visual Basic, C#, and J# at an intermediate level by interoperating with them.
ilasm, it comes with the .NET Framework.
The complete reference is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With