Every .NET object has the ToString method that can be used to dump its state. This article explains implementating a generic object state dumper mechanism that can be used across all objects.
Implementing a Generic Object State Dumper
Published 01/21/2003