Assembly.GetExecutingAssembly Method
public static Assembly GetExecutingAssembly()
可以看到该方法是类的静态方法,因此访问方式如下
eg:string resourceAssembly = Assembly.GetExecutingAssembly();
Gets the assembly that contains the code that is currently executing.
Assembly.Load Method
public static Assembly Load(assemblyName)
eg:Country cy;//define a class named Country
cy=(Country)Assembly.Load(assemblyName).CreateInstance(strongClassName)
定义一个类对象cy,并创建它相应的实例
loads an assembly given its assemblyName