int
[] a=
new
int
[5];
//取a[3]的地址
IntPtr addr=System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(a,3)
时间: 2024-10-12 07:51:23
int
[] a=
new
int
[5];
//取a[3]的地址
IntPtr addr=System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(a,3)