Search code examples
c#.netreflectionreflector

Why can't Reflector show byte arrays? Is this due to some technical limitation?


I want to see the contents of a byte array, but Reflector don't show them. Why? Is this due to some technical limitation, or is just a feature not implemented by Reflector?

Is there any other tool which I can use to do this?

Screenshot


Solution

  • Static members are initialized in the class' static constructor as far as the CLR is concerned.

    If you disassemble the .cctor() method, you should see the assignment to myname.