Is there any way to generate a ToString() using Visual Studio 2010?
I really don\'t want to do this by hand!
[EDIT]
I\'m looking for a s
If you need better representation of your object while debugging you can use the DebuggerDisplayAttribute:
[DebuggerDisplay("Count = {count}")]
class MyHashtable
{
public int count = 4;
}
This can be quicker than overriding ToString, but it still doesn't let you choose fields, you have to type them.