LINQPad is amazing, and particularly useful is the Dump()
extension methods which renders objects and structs of almost any type, anonymous or not, to the console.
Initially, when I moved to Visual Studio 2010, I tried to make my own Dump
method using a delegate to get the values to render for anonymous types, etc. It's getting pretty complicated though and while it was fun and educational at first, I need a solid implementation. Having checked out the LINQPad code in .NET Reflector I am even more assured that I'm not going to get the implementation right.
Is there a free library I can include to provide the Dump
functionality?