Quiz #2
What is the difference between this structures if there is a difference at all?
[StructLayout(LayoutKind.Sequential)]
struct SampleStructA
{
byte b;
int i;
byte b2;
}
[StructLayout(LayoutKind.Explicit)]
struct SampleStructB
{
[FieldOffset(0)]
byte b;
[FieldOffset(1)]
int i;
[FieldOffset(5)]
byte b2;
}