Reputation: 1231
After compiling c# what is happening to the code? Computer can't read c# so it should become assembly, moreover, machinde codes.
Upvotes: 0
Views: 395
Reputation: 612784
The C# compiler compiles to IL, Intermediate Language. This is a machine code for a virtual machine. When the code is executed on a real machine it is further compiled by the just-in-time compiler (JIT) which emits true machine code. It's the latter code, that emitted by the JIT compiler, that is actually executed.
Upvotes: 3