Using C# with Visual Studio 2005.
I noticed in the Immediate Window if I type a variable name that is an object and hit enter, the ToString() representation is displayed followed by a list of all the private members and public properties. Where does this information come from? Is this display controlled by some method that is potentially overrideable?
For example, I know in python there are actually two methods to control the display of objects __str__ and __repr__, is this a similar situation in that there is some other method besides ToString()?
Or is this visual studio using introspection or something?