Monday July 6th

Friday July 3rd

Tips & Tricks: Use DebuggerDisplayAttribute for easier debugging

When debugging, it's common to hover over an object to get a quick view of what its properties are. This is where DebuggerDisplayAttribute comes in. The format string looks similar to normal .NET format strings in that the values to replace are between curly braces, but instead of being told what to substitute the debugger treats these values as expressions and attempts to evaluate them using the current context.

0 comments

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network