Illustrated C# Chapter 1
1.Net框架:
In 2002, Microsoft released the first version of the .NET Framework, which promised to address the old problems and meet the goals for the next-generation systems. The .NET Framework is a much more consistent and object-oriented environment than either the MFC or COM programming technologies. Some of its features include the following: • Multiple platforms: The system runs on a broad range of computers, from servers and desktop machines to PDAs and cell phones. • Industry standards: The system uses industry-standard communication protocols, such as XML, HTTP, SOAP, JSON, and WSDL. • Security: The system can provide a much safer execution environment, even in the presence of code obtained from suspect sources. The .NET Framework consists of three components, 【Net有三部分组成:如下图1-2】Programming Tools: 编译器 Complier
BCL:比较底层和通用的功能。System, IO,Resource,Text,Collection,
2.text语言到CIL的过程:
The compiler for a .NET language takes a source code file and produces an output file called an assembly 【文本代码生成程序集】.
Figure 1-3 illustrates the process. • An assembly is either an executable or a DLL. 【可执行的或者DLL】 •The code in an assembly isn’t native machine code but an intermediate language called the Common Intermediate Language (CIL).【程序集是CIL中间语言】 • An assembly, among other things, contains the following items: – The program’s CIL 【CIL】 – Metadata about the types used in the program 【使用的Type】 – Metadata about references to other assemblies 【reference关系】
3.CIL编译到Native Code的过程:
4.Net平台下各个语言编译和执行过程的一致性:
5.CLR内部的操作:
6.比较重要的缩写:
7.C#的演进
标签:code,assembly,C#,CIL,Net,图解,NET From: https://www.cnblogs.com/sun-shadow/p/17156886.html