What is. NET? What is CLI? What is CLR? What is IL? What is JIT and how does it work? What is GC? How does GC work?
. NET:
Let's talk about the significance of the term "Platform". Some people may be able to play such games as haofang and 11. This is the platform. Then let's think about the program written in C #. NET. So. NET stands for the platform. It provides the runtime environment and the required class library. Without it, you cannot let C # write programs run, of course, there are also some programs written in languages such as VB.
CLI:
MSIL is an intermediate process for converting. NET code into machine language. CLI provides the environment for MSIL.
CLR:
CLR is an environment that manages code execution.
IL:
We don't know the Pc program we write. What should we do. In this case, you need to use MSIL to convert the code into a language code recognized by a Pc. This language is IL. It is called intermediate language code.
JIT:
Jit is a production system that requires no waste and zero inventory. JIT determines whether it is a common class. If it is a commonly used class, compile it. If it is other commonly used classes, use normal escape.
GC:
It is also known as the garbage collection mechanism. The working principle is to traverse the pointer of the referenced type variable in the program. If no pointer is found, it is useless, and it will be recycled.
A complete process: vs --> code -->. net --> clr --> cli --> il --> Jit --> gc