首页 > 编程语言 >C#和Net框架的关系(C#图解教程第一章)

C#和Net框架的关系(C#图解教程第一章)

时间:2023-02-26 16:45:13浏览次数:39  
标签:code assembly C# CIL Net 图解 NET

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

相关文章

  • spring security笔记一
    创建SecurityConfig类,加上@Configuration注解添加授权方法:/***访问路径授权**@paramhttp*@return*@throwsException*/@BeanpublicSecurityFilterChainfil......
  • stata:encode
    //原数据状态listmakein1/5////+---------------+//|make|//|---------------|//1.|AMCConcord|//2.|AMCPacer......
  • SpringMVC:SpringMVC处理Ajax请求
    目录@RequestBody@RequestBody获取json格式的请求参数@ResponseBody@ResponseBody响应浏览器json数据@RestController注解@RequestBody@RequestBody可以获取请求体信息,使......
  • 横向移动之Windows IPC远程命令行连接
    https://www.cnblogs.com/iAmSoScArEd/p/17156938.html我超怕的IPC(InternetProcessConnection),用于进程间通信的命名管道。连接目标时需要验证用户名和密码,可以访问目标......
  • SpringMVC:文件上传和下载
    文件下载ResponseEntity用于控制器方法的返回值类型,该控制器方法的返回值就是响应到浏览器的响应报文使用ResponseEntity实现下载文件的功能@RequestMapping("/testDown......
  • [leetcode每日一题]2.26
    ​​1255.得分最高的单词集合​​难度困难98你将会得到一份单词表 ​​words​​,一个字母表 ​​letters​​ (可能会有重复字母),以及每个字母对应的得分情况表 ​​scor......
  • 创建线程方法三:使用Callable和Future创建线程
    一:从Java5开始,Java提供了Callable接口,该接口是Runnable接口的增强版,Callable接口提供了一个call()方法,可以看作是线程的执行体,但call()方法比run()方法更强大。call()方......
  • ubuntu 安装docker
    ubuntu安装docker目的学习docker构建一个自己的gitlab+jenkins的自动化构建部署的环境,用来学习C/C++,python,javadocker安装我参考的是这个网页,https://www.runoob......
  • OpenEuler安装xfce桌面 及 远程桌面软件xrdp
    1.xfce桌面安装,参考官网文档:InstallXfce(openeuler.org)安装后心得:dnf库里的软件版本都比较低,安装上这个xfce后,发现默认没有浏览器,用dnf安装的Firefox只有74版......
  • 09. Kubernetes - 可变信息配置管理(ConfigMap)
    ConfigMap前面的资源对象并不能满足日常工作中的所有需求,一个最重要的需求就是应用的配置管理,特别是可变配置。比如,在开发过程中程序需要配置MySQL或者Redis的连接地......