转自http://www.docin.com/p-46428532.html
在C#中要指定成员的内存布局情况,我们需要结合使用StructLayout Attribute特性、LayoutKind枚举和FiledOffSet Attribute特性,它们都位于System.Runtime.InteropServcies命名空间中。
转自http://www.docin.com/p-46428532.html
在C#中要指定成员的内存布局情况,我们需要结合使用StructLayout Attribute特性、LayoutKind枚举和FiledOffSet Attribute特性,它们都位于System.Runtime.InteropServcies命名空间中。