13得票1回答
结构体中存在LayoutKind.Explicit时,必须遵循LayoutKind.Sequential。

运行以下代码时:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace Stru...