C# Assembly学习

最近项目开发中,经常使用到接口映射和反映射的一些机制,深感理论缺乏,自己开发出来也很困难,个人觉得C# Assembly 这一块需要深入学习了。

先去百度了一些资料,可以看到C# Assembly的一些简单学习,深入的资料也比较少,后来同事推荐了一个电子文档C# 4.0 in a Nutshell,里面是第一手资料,全英文的,看得有些费力,不过还是要坚持了。

重点学习以下几章节:

1.Assembly

2.Reflection And Metadata

3.Dynamic Programming

4.Parallel Programming

当然,还有几块例如:Threading和Security也是很有兴趣,能高级应用的部分。



什么是Assembly(程序集)?
Assembly是一个包含来程序的名称,版本号,自我描述,文件关联关系和文件位置等信息的一个集合。在.net框架中通过Assembly类来支持,该类位于System.Reflection下,物理位置位于:mscorlib.dll。

下面是原本资料的定义

What’s in an Assembly?
An assembly contains four kinds of things:
An assembly manifest
Provides information to the .NET runtime, such as the assembly’s name, version,
requested permissions, and other assemblies that it references
An application manifest
Provides information to the operating system, such as how the assembly should
be deployed and whether administrative elevation is required
Compiled types
The compiled IL code and metadata of the types defined within the assembly
Resources
Other data embedded within the assembly, such as images and localizable text
Of these, only the assembly manifest is mandatory, although an assembly nearly
always contains compiled types.


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值