Zgrkpnr
Zgrkpnr

Reputation: 1231

Does c# compiler turns it into c or intel assembly code?

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

Answers (1)

David Heffernan
David Heffernan

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

Related Questions