. Net runtime: Also known as commen language runtime or CLR, which is actually managed Code . He can process the loading Program , Run the code of the program, and code that provides all the support services.
Controlled Code: Any code running in the. NET environment is called a managed code ).. Other code outside of. Net also runs on the window, which is called uncontrolled code ).
The intermediate language (IL intermediate language) determines the location of the Code when it loads and runs code During. Net runtime. When compiling controlled code, the compiler actually uses an intermediate language, and CLR processes the final compilation phase of the code execution. Il can be quickly compiled into internal machine code and supports the. NET function.
The Common Type System (CTS commen type system) is used to implement language interoperability. A set of basic data types recognized by various languages is required to standardize all languages. CTS provides this function and also provides rules for defining custom classes.
. Net base class: This is an extended class library that contains pre-written code and executes various tasks on windonws, such as display windows and forms, access Basic Windows Services, read and write files, access networks and the Internet, and access data sources.
Assembly: assembly is the unit for storing compiled controlled code. It is similar to a traditional executable file or DLL, but has an important feature of self-description, including the so-called metadata, it provides accessories and all types and methods defined in it. Accessories can be private (only for one application) or shared (for all applications on Windows ).
High-speed buffer storage for accessories: This is the disk area for storing shared accessories.
Common Language Specification (CLS): This is the minimum standard set that ensures that code can be accessed in any language. All compilers for. NET should support Cls. CLS forms a subset of functions that can be used in. NET and Il, and the code can also use functions outside Cls. If the non-CLS function is visible outside the Assembly where the code is located. These functions cannot be used in some languages.
Reflection: Because accessories are completely self-described, you can program the access to the Assembly metadata theoretically. In fact, some base classes are designed to achieve this purpose. This technology is called reflection.