One of the initial learning notes of. Net-the relationship between the. Net platform and the. Net FrameWork framework.

Source: Internet
Author: User

One of the initial learning notes of. Net-the relationship between the. Net platform and the. Net FrameWork framework.

. Net consists of two parts:. Net platform and. Net FrameWork.

1. the. Net FrameWork is included in the. Net platform. Net FrameWork to provide the environment and support to ensure that the. Net Platform runs.

2. the. Net FrameWork is an indispensable part of the. Net platform. It provides a stable runtime environment to ensure the normal operation of various applications developed based on the. Net platform. (The. Net platform is similar to the China Mobile Internet platform that supports Internet access, communication, and games, while the. Net FrameWork is similar to a signal tower that ensures the normal operation of the China Mobile Internet platform .)

3. C # is a programming language that can be referenced Based on the. net platform. Java is both a language and a development platform.

4... Net development applications: Winform (desktop application), ASP. NET (Internet application), WP8 (mobile development), and Unity3D (game development or virtual reality)

5. Two interaction modes: C/S (Client)/Server mode, B/S (Browser)/Server mode ))

6. Components of:

Relationship between solutions, projects, and categories: Company -- department -- employees

Components in Program:

1. Reference namespace:

2. namespace or Project name:

3. class:

4. method or function: the Main function is the Main entry of the program.

5. Solution Folder: The. suo file cannot be deleted or hidden;. sln solution file. Contains information about the entire solution. You can double-click to run the program. The folder is called the project folder. The. csproj C # project file contains the project information and double-click to run the program.

7. Output "Hello Word !"

Note: 1. All punctuation marks in the Code are half-width English characters. Shift key: Quick Switch between Chinese and English half price, shift + space switch full/half angle

2. Enter ";" at the end of all codes, which is a semicolon (;).

In the Main function, enter:

Console. WriteLine ("Hello Word! "); // Print the running content to the console

Console. ReadKey (); // pause the current program. Wait for the user to press any key to continue. Any key is displayed on the console. Press any key to execute subsequent programs.

Running Mode: 1. Click Start 2. Press F5 on the keyboard

Cancellation Method: 1. Click Stop debugging. 2. Click X to close the console.

8. Writing habits: 1. After writing the code, click "generate"-"generate solution" on the menu bar to exclude syntax errors. Double-click the Error List to directly display the error lines.

2. Set: Set the row number: "tool"-"option"-"Text Editor"-"c #" select the row number

Set Font: "tool"-"option"-"environment"-"font color"

Set the style: "tool"-"option"-"environment"-"general"

3. Set the project startup Item

4. Delete and uninstall a project

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.