Follow these steps while executing a Managed code:
Choosing a language compiler depending on the language in which the code is written.
Converting the above code into Intermediate language by its own compiler.
The IL is then targeted to CLR which converts the code into native code with the help of JIT.
Execution of Native code.