C # day1-. NET first knowledge,

Source: Internet
Author: User

C # day1-. NET first knowledge,

1... NET platform features

1) supports multiple programming languages (C #, VB, F #, JavaScript, C ++/CLI)-managed languages, in addition to Smaltalk, Ruby, Python, COBOL and Pascal.. NET compiler, etc. After compilation, the platform-independent IL (CEL) (Intermediate language, Intermediate language) and type metadata are generated.

2) supports cross-language inheritance, exception handling, and code debugging. For example, the basic classes defined in c # can be extended in VB.

3) Comprehensive basic libraries (database access, GUI desktop APIs, security, remote processing APIs, threads, file input and output, and web APIs ).

2... NET public Type System (CTS)

1) type: {class, interface, structure, enumeration, delegation} definition specification.

For example, CTS type

1 class Calc2 {3 public int... 4 {5... 6} 7}
Class

2) type members: {constructor, Terminator, static constructor, nested type, operator, method, attribute, indexer, field, read-only field, constant, event}, member modifier.

3... NET public language specification CLS

Different programming languages and compilers have different Syntax structures. CLS describes the support. NET compiler must support the smallest and complete feature set, so that the intermediate language generated by compilation has a similar structure.

4... NET public Language Runtime Library CLR

Similar to the Java runtime, the Java Virtual Machine and. NET platform also provide a Runtime Library System-mscoree. dll.

 

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.