开发者

Is C# interpreted or compiled?

I thought that C# generated compiled code (by JIT), but I have latel开发者_如何学Goy discovered that I can edit code while debugging mode in C# (VS 2008). Does that mean that C# is interpreted?


It's a trick. The C# compiler/debugger/IDE is just smart and can compile code on the fly while you're debugging.


C# is compiled to IL which is then JIT'ed at runtime into instructions specific to the processor the program is running on.

Editing code while debugging C# is a feature of VS2008 which more than likely compiling any changes in the background

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜