using System.Reflection;Assembly a = Assembly.LoadFile(yourFile);
a.GetType(yourTypeNameSpace + "." + yourType);

解决方案 »

  1.   

    Type t = a.GetType(yourTypeNameSpace + "." + yourType);object obj = System.Activator.CreateInstance(t);MethodInfo mif = t.GetMethod(.........);mif.Invoke(obj,new object[] {yourparam1,yourparam2...})
      

  2.   

    using System.Reflection;and code e.g.string sInvokeType = yournamespace + "," + yourclassname;
    Type   type = Type.GetType(sInvokeType);
    object objInstance = Activator.CreateInstance(type);
    MethodInfo processMethod = objInstance.GetType().GetMethod(methodName);
    string result =(string) processMethod.Invoke(objInstance,new object[1]{paras});
      

  3.   

    正如brightheroes(闭关|那一剑的风情)所说,重要的是你可以按他提供的做法去扩展你的思路,好好查一下他用到的方法的MSDN说明.