c++中指针类型在c#中怎么对应?

时间:2014-10-07 22:51:14   收藏:0   阅读:227
int[] a=new int[5];
//取a[3]的地址
IntPtr addr=System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(a,3)
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!