The. NET platform consists of two parts of the FCL: Framework class Library CLR: Common language runtime
Simple compiler principles for. NET Programs
1.0: Use the C # compiler (csc.exe) to compile the C # source code into an assembly +{before compiling: Check that C # source code conforms to the C # syntax specification, if the conformance is compiled into an assembly, if it does not, it will be an error, the assembly is not generated}
Assembly: haha little partner There are two types of suffixes (EXE, DLL) that need to be generated by the. NET Platform.
The most important part of generating an assembly is the MSIL (Microsoft intermediate language), which compiles C # source code into MSIL code at compile time
2.0: When the assembly is running, the JRT (instant compiler) in the essential oil CLR translates the MSIL code into the binary instructions of the local platform to be run by the CPU
A key component of the 2016/04/26. NET platform and simple compiler principles for. NET Programs