[讨论]誰用的64-bit的機器,測試下
IntPtr t=new IntPtr();
MessageBox.Show(System.Runtime.InteropServices.Marshal.SizeOf(t.GetType()).ToString());
運行上面倆句 返回多少4還是8?
IntPtr t=new IntPtr();
MessageBox.Show(System.Runtime.InteropServices.Marshal.SizeOf(t.GetType()).ToString());
運行上面倆句 返回多少4還是8?