I have a recollection that there is some way (an attribute on the class,
perhaps) that tells the VS.net debugger to display a particular property in
the Auto / Locals window when I'm viewing a particular type of object...
For example, if I have a class:
public class X
{
private int myValue = 1;
public string ToString()
{
return myValue.ToString();
}
}
if I have an instance of this class and I view it in the debugger with the
Auto / Locals window, I see the "Value" as {NameSpace.X}. What I want to
see there instead is "1" (or whatever myValue is). I thought there was an
attribute, but maybe it's something else... anyone know?
-mdb