程序集

一. 程序集种类

1. dll 2,exe

二.应用程序架构

  1.AppDomain  2.Assembly 3.Module  4.Type 

  5.EventInfo、FieldInfo、MethodInfo、PropertyInfo

三. 程序集架构

  1 程序集元数据 2类型元数据  3msil代码 4 资源

  2 共有程序集和私有程序集

四 程序集特性

  程序集特性前缀:assembly

五 程序集对象

  获取当前应用程序域所有程序集:Assembly[] ass = AppDomain.CurrentDomain.GetAssemblies();

  获取当前对象所在的程序集:this.GetType().Assembly;

  根据路径加载程序集:Assembly.LoadFrom(assPath);

  获取Type 对象:

  参考链接:https://www.cnblogs.com/zhaoyl9/p/12036037.html

六 反射原理:

原文地址:https://www.cnblogs.com/MakeChinaCreatAgain/p/13792320.html