求教C#调用DLL参数为数组指针如何传参

如题所述

用相应的数组代替
比如c++ 参数 func( int * p)

你可以用 int[] data=new int[arrsize];
func(data)
温馨提示:答案为网友推荐,仅供参考
相似回答