You could use this:
Activator.CreateInstance("Dll file", "ClassName");
You can get the assembly name (firs parameter of
CreateInstance
above) from the
Assembly
object opr could also directly create an instance using that
Assembly
object:
Assembly a = Assembly.Load("Dll file");
MyObject o = a.CreateInstance("ClassName");
http://msdn.microsoft.com/en-us/library/dex1ss7c.aspx[
^]
Good luck!