C #-01: Introduction

Source: Internet
Author: User

1. C # relationship with. net

C # is an independent language used to generate a. Net-oriented environment.Code. But it is not part of. Net itself .. Some of the features supported by net are not supported by C. Other features supported by C # are not supported by. net. C # is used with. net, so if you want to use C # to develop applications efficientlyProgramIt is very important to understand the framework.

2. CLR, Il, JIT

The core of. NET is the Common Language Runtime Library (CLR for short.

First, C # code is compiled into an intermediate language-il. features:

1. object-oriented and Interface Support

2. Strongly typed data

3. differentiate applications and value types

Advantages:

1. cross-platform and Performance Optimization

After the code is compiled into Il, the local machine-related executable code is generated through JIT (instant compilation) when the code is called. You can optimize the performance based on different hardware.

2. language interoperability

Because of the strong data type of Il, the Data Type of each variable is determined. Therefore,. net uses CTS (general type system) and CLS (Common Language Specification) to correspond to data types of different languages.

 

3. Garbage Collection

 

4. Application domain

 

5. Assembly

 

 

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.