C # Study Notes (1 ),
1 C # relationship with. NET
(1) C # is designed specifically for use with Microsoft's. Net Framework.
(2) C # is a language based on object-oriented design methods.
(3) Note that C # is a language. Although it is used to generate code for the. NET environment, it is not a part of. NET itself.
2. Several important concepts in the NET System
(1) Common Language Runtime (CLR): It is a Runtime environment like a Java virtual machine, and is responsible for resource management (memory allocation and garbage collection ), ensure necessary separation between applications and underlying operating systems.
(2) Microsoft Intermediate Language (IL): it shares the same concept as Java bytecode. It is a low-level Language with simple syntax and can be quickly converted into local machine code.
3. NET compilation process
(1) Compile the source code into Microsoft intermediate language (IL ).
(2) The common Runtime Library (CLR) compiles IL into platform-specific code.