How is it run inside machine?
IL code stands for intermediate code.
In Microsoft visual studio supports too many language. In same different user have different machine configuration and different operating system whose unknown to visual studio. That is the main problem. To avoid this problem Microsoft Creates a code that is called as IL Code.
It’s called as IL code or half compiled code, it’s creates at compile time.
Now why it is called as half compiled?
Visual studio does not know that what is system configuration of user, so in compile time it’s compiled the language code and converted into IL code.
When this program will run at user system, this run time IL code is converted into machine code by JIT (just-in-time) compiler.
Summery
- IL code is half compiled code.
- IL Code is created at compile time.
- IL code is compiled by JIT Compiler.
- JIT Compiler converted IL Code into Machine Code.