110,528
社区成员
发帖
与我相关
我的任务
分享
namespace dll{
public interface IGetHcNum{
int GetHcNum(string a );
}
public class Test:IGetHcNum{
public int GetHcNum(string a ){
a= "1";
}
}
}
[DllImport("dll.dll")]
private static extern int GetHcNum(string a);
private void go(){
GetHcNum("q")
}