int[] a=new int[5];
//取a[3]的地址
IntPtr addr=System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(a,3)