3 ms·
Yeah that sounds right, basically the JITter is free to re-order as it want. The order you write the fields in your class (in a .cs file) enfore anything. If y
by matthewwarren 12y ago
Yeah that sounds right, basically the JITter is free to re-order as it want. The order you write the fields in your class (in a .cs file) enfore anything.
If you really need a specific memory layout, you need to use a trick like the one in the article, or resort to LayoutKind Sequential[0].
[0] http://support.microsoft.com/kb/922785 http://support.microsoft.com/kb/922785