In case of this class
public class Foo {public Int32 MyField; }
What will be the size of MyField? Is it only 4bytes on x86 machine, or it has usual overhead for objects?
MyField
将是4个字节,开销是父Foo
对象的开销。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.