The ToString() method for a class outputs the class information in the debugger but it has the unfortunate side effect of changing the output for the User Interface (UI). Is there an attribute that can be specified on the class?
The ToString() method for a class outputs the class information in the debugger but
Share
Use the attribute DebuggerDisplay
This code will have the debugger for your class display:
where MyVar has been assigned the value 12.