C#

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Perica
Member
Member
Posts: 454
Joined: Sat Nov 25, 2006 12:50 am

Re:C#

Post by Perica »

..
Last edited by Perica on Sun Dec 03, 2006 9:25 pm, edited 1 time in total.
gedeon

Re:C#

Post by gedeon »

Yes .NET compile into a sort of bytecode, CIL = Common Intermediate language. In fact .Net produce Assembly
An assembly contains metadata, CIL code and resources.

The CIL is interpreted by the CLR Common Language Runtime ( a kind of virtual mavhine)

The CLI is the Common Language Infrastructure
An ECMA standard
http://www.ecma-international.org/publi ... ma-335.htm
Tim

Re:C#

Post by Tim »

IL (CIL or MSIL) isn't necessarily interpreted -- the Microsoft CLR compiles MSIL to native code either on installation, the first time the assembly is loaded, or each time the assembly is loaded. For instance, the Visual Studio debugger shows you x86 machine code disassembly, not IL instructions.
gedeon

Re:C#

Post by gedeon »

An .exe produced by .Net does not contain native code, for all .net language.
Only the JIT produce native code, in the debugger the JIT is used.
Post Reply