在调用之前必须先load dll
Assembly asmb = Assembly.LoadFrom(namespace+ dll); var s = Activator.CreateInstance(asmb.GetType(classname));
记着,怕忘了