Thread th=new Thread(delegate(fun1(1,"2"))); th.Start(); void fun1(int i1,string s1) { } 用委托的方式传参,fun1里的参数完全可以定义为byte[ ]型 或者你定义个byte[ ][ ]型的二维数组,通过(int)object作为索引,将对应的一维byte[ ]传进去
Thread th=new Thread(delegate(fun1(1,"2"))); th.Start(); void fun1(int i1,string s1) { }
不知所云,无能为力
LZ,我建议, 1. 你首先确信自己知道多线程是怎么开的。 2. 你确信自己知道怎么引用C++的dll并添加一个对等的external方法。 3.如果你明确上述两点,你的问题应该不是问题。
110,538
社区成员
642,577
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧