B
Beringer
Why do I get the following run time error:
Additional information: Type System.Object can not be marshaled as an
unmanaged structure; no meaningful size or offset can be computed.
When the following code is executed?
object test = new object();
int temp = Marshal.SizeOf(test);
Isn't the size of test determined during its creation?
Thanks,
Eric
Additional information: Type System.Object can not be marshaled as an
unmanaged structure; no meaningful size or offset can be computed.
When the following code is executed?
object test = new object();
int temp = Marshal.SizeOf(test);
Isn't the size of test determined during its creation?
Thanks,
Eric