Multiple choice technology web technology

What is the size of a .Net object ?

  1. 4 bytes

  2. 2 bytes

  3. 6 bytes

  4. 1 byte

Reveal answer Fill a bubble to check yourself
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.