A key component of the 2016/04/26. NET platform and simple compiler principles for. NET Programs

Source: Internet
Author: User

The. NET platform consists of two parts of the FCL: Framework class Library CLR: Common language runtime

Simple compiler principles for. NET Programs

1.0: Use the C # compiler (csc.exe) to compile the C # source code into an assembly +{before compiling: Check that C # source code conforms to the C # syntax specification, if the conformance is compiled into an assembly, if it does not, it will be an error, the assembly is not generated}

Assembly: haha little partner There are two types of suffixes (EXE, DLL) that need to be generated by the. NET Platform.

The most important part of generating an assembly is the MSIL (Microsoft intermediate language), which compiles C # source code into MSIL code at compile time

2.0: When the assembly is running, the JRT (instant compiler) in the essential oil CLR translates the MSIL code into the binary instructions of the local platform to be run by the CPU

A key component of the 2016/04/26. NET platform and simple compiler principles for. NET Programs

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.