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