S
SamSpade
I see <StructLayout(LayoutKind.Sequential)> before a Structure Definition in
many examples.
However, the doc says:
To reduce layout-related problems associated with the Auto value, C#, Visual
Basic .NET, and C++ compilers specify Sequential layout for value types.
I think a Structure is a value type. Correct??
Also in c# ??
If so, does the Doc note mean that there is no reason to add
<StructLayout(LayoutKind.Sequential)>
Thanks
many examples.
However, the doc says:
To reduce layout-related problems associated with the Auto value, C#, Visual
Basic .NET, and C++ compilers specify Sequential layout for value types.
I think a Structure is a value type. Correct??
Also in c# ??
If so, does the Doc note mean that there is no reason to add
<StructLayout(LayoutKind.Sequential)>
Thanks