Possible Duplicate:
C# object dumper
Is it possible to do a dump of all the fields and properties of a class, at runtime?
The class has nested properties and fields, i.e. it contains sub-classes, which in turn contain classes and structs, which in turn contain strings, int, and List<> primitives.