What is the size of a .Net object ?
-
4 bytes
-
2 bytes
-
6 bytes
-
1 byte
C
Correct answer
Explanation
In .NET, the minimum object overhead is 6 bytes on a 32-bit system (this includes the sync block index and type handle pointer). This is a fundamental memory management detail. 4 bytes is too small, 2 bytes and 1 byte are insufficient to store the object header metadata required by the CLR.