C # basics you should understand in seconds (1)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.