Framework Design Guidelines: Overriding Object.ToString()
Posted by: Brad Abrams,
on 03 Feb 2009 |
View original | Bookmarked: 0 time(s)
Continuing in our weekly blog post series that highlights a few of the new additions to the Framework Design Guidelines 2nd edition.. This content is found in the Object.ToString section of Chapter 8: Usage Guidelines. Christophe provides some great implementation tips for these guidelines. DO try to keep the string returned from ToString short. The debugger uses ToString to get a textual representation of an object to be shown to the developer. If the string is longer than the debugger can display...