. NET compilation process,. net Compilation
Summarize the compilation process of. NET,
The general advanced programming language will compile the code into machine code, that is, the unmanaged code we call, and execute it on the computer that compiles it.
During. NET code compilation, the advanced programming language will be compiled into an intermediate language and run on the CLR (Common Language Runtime Library), that is, the code will be integrated into an exe file,
. NET does not directly compile the code recognized by the CPU in the compilation process, but is compiled into the code recognized by the CLR, which lays the foundation for cross-platform.
For example, if the code we write in C language is to be transplanted to C # in C #, the CLR compiled from another language, that is, the exe file, can be directly compiled as long as there is a response compiler..
In general, the compilation process is to program the language that the user understands, such as Console. WriteLine ("hello, world"), into the code recognized by the CLR, that is, to integrate the exe file.
Then compiled by CLR into the 0 and 1 that the CPU knows.
Above.