日期:2014-05-18 浏览次数:20613 次
pulic interface IListDs(T)
{
public void FF();
}
public void FF2()
{
#region 由系统获取可供选择的方法
//获取dll文件
Assembly assembly = Assembly.LoadFile("ff.dll");
//获取该接口type
Type type = assembly.GetType("在这个地方应该写接口的名称,我应该怎么写呢", false);
//判空
if (null == type)
{
Console.WriteLine("未找到接口",请联系管理员");
Console.ReadLine();
//程序退出
Environment.Exit(0);
}
}