If you want to change the information, the debugger variable window shows for your class, you can use the DebuggerDisplayAttribute.
Simply put the Attribut above your class declaration. The Value between {} are the name of the property or Field you want to show.
Sample C#
[DebuggerDisplay("Name = {Name}, Value = {Value}")]
Sample VB.NET
<DebuggerDisplay("Name = {Name}, Value = {Value}")>
Result
for more informations see the DebuggerDisplayAttribute Class MSDN Entry
RT @CodeSnippetsNET: How to use DebuggerDisplayAttribute in C# and #VB.NET http://t.co/k5rliS9doT #csharp #dotnet #programming #code #codes…
RT @CodeSnippetsNET: How to use DebuggerDisplayAttribute in C# and #VB.NET http://t.co/k5rliS9doT #csharp #dotnet #programming #code #codes…