Murali Poola
What is the size of a reference variable?
By Murali Poola in .NET on Apr 23 2012
  • Vishal Jadav
    Aug, 2016 15

    It depends on OS version in windows.

    • 0
  • Rajendra Tripathy
    Aug, 2014 8

    The size of the reference itself will depend on your processor architecture - 4 bytes on 32-bit, 8 bytes on 64-bit.

    • 0
  • Dasharath Vishwakarma
    May, 2014 20

    The reference itself is basically a pointer. 32 bits on a 32 bit OS, 64 bits on a 64 bit OS.

    • 0
  • Murali Poola
    Apr, 2012 23

    All references are the same size (they are 4 bytes on a 32-bit CLR and 8 bytes on a 64-bit CLR, but within any one CLR all references are the same size)

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS