C # Getting Started handy notes

Source: Internet
Author: User

1. The. Net Framework is a development platform that Microsoft has created for developing applications.

Run operating system unlimited: Microsoft version runs Linux and MacOS on the Windows,mono version;

There are unlimited types of applications : Windows, Web, Web services, and more.

compatible with multiple development languages : C #, C + +, VB, JScript, COBOL

2. The code compilation process for. Net Framework Libraries

Library code-"General intermediate code (Common intermediate Language) cil--" Machine code (compiler: just-in-time)

CIL is independent of the calculator and operating system, CPU, and different JIT compilers can compile CIL code into machine code that is suitable for machines.

3. Common Language Runtime Common Language runtime

The CLR is responsible for managing C # applications, managing memory, handling security, and debugging across languages

4,. NET application creation steps

(1) use some kind. NET-compatible languages, such as C #, to write code

(2) Compiling code into CIL, stored in assembly, multiple source code files compiled into one assembly (linking)

(3) When executing code, the code must be compiled into machine code using the JIT compiler

(4) Running machine code in a managed CLR environment

5. C # is a type-safe language (data of a specified type cannot be converted to another unrelated type)

6, Console.readkey () Wait for the button

7. All C # files use. cs As the file name extension

8. You can extract the comment text when compiling the project by configuring vs to get a text file to create the document specification.

9, code highlighting function: A piece of code can be collapsed into one line

Using #region and #endregion

C # Getting Started handy notes

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.