Assembly assembly = Assembly.LoadFrom("MyNice.dll"); Type type = assembly.GetType("MyType"); object instanceOfMyType = Activator.CreateInstance(type); Assembly assembly = Assembly.LoadFrom("MyAnotherNice.dll"); Type type = assembly.GetType("MyType"); object instanceOfMyType = Activator.CreateInstance(type);
MyNice.dll and MyAnotherNice.dll
Reflib.dll
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)