I have a structure that has a byte array as a field:
struct foo
{
public int A;
public int B;
public byte[] C;
}
I want to create an instance of this structure, such that all fields
A, B, and C are in a continous block of memory. Right now if I assign
C a new byte array, it gets created in a different spot in memory than
fields A and B.
Is there any way i can do this?