Mega Code Archive

 
Categories / C# / Reflection
 

Loads an Assembly given its AssemblyName

using System; using System.IO; using System.Reflection; using System.Reflection.Emit; class Test {    public static void Main() {     AppDomain ad = AppDomain.CreateDomain("ChildDomain");     ad.Load("MyAssembly");    } }