. NET is actually a software platform, which has many similarities with the Java platform, mainly manifested in
1. Both programs can be executed across platforms. 2. All programs compiled by both are generated with an intermediate code (IL ), the second compilation is required to convert the Code that can be executed at a cost (Native Code ). This feature is exactly the root cause of cross-platform execution by. NET and Java programs, as shown in IL 3. Both of them are powerful in B/S (Broser/Server) development. The following describes the features of cross-platform execution. NET FrameWork, as long as it is used.. NET programs can be executed on the platform. Because the software is compiled into IL components (. EXE or. DLL), these components have nothing to do with the specific. NET Language and the operating system. The IL syntax is basically the same. Compile and generate the intermediate code. the real-time compiler in the. NET Framework is compiled for the second time to generate Native Code before being executed by the CPU, just as the Java program requires the Java Virtual Machine (JVM) for the second compilation before execution. Below is. NET program and JAVA program execution principle. NET execution principle. the execution principle of JAVA is powerful in B/S development. ASP. NET class is very convenient for B/S development. The. NET FrameWork consists of CLR (runtime in common languages) and BCL (base class library ). In fact, CLR and BCL are also composed of components. The components of the CLR that constitute the BCL are all included in the System Folder GAC (Global Assembly Cache), and some classes with digital signatures are also registered in this folder, components in this folder can be shared by all software
From Wen Huan's CSDN blog