1 定义:
2 结构:
3 私有程序集和共享程序集

5 应用程序域
//文件2.cs using System; public class Bar { public static void Main() { Console.WriteLine("Bar"); } }
|
1
2
3
4
5
6
7
8
9
10
11
12
13 |
//1.csusing
System;using
System.Reflection;public
class temp{ public
static void Main() { AppDomain testDomain=AppDomain.CreateDomain("TestDomain"); Console.WriteLine(testDomain.FriendlyName);//"TestDomain" //通过调用程序集2.exe,并且执行输出“bar” testDomain.ExecuteAssembly("2.exe"); }} |
【CLR Via C#】2 程序集,布布扣,bubuko.com
原文:http://www.cnblogs.com/luge/p/ClR_Via_CSharp_Assembly.html