LINQPad - Dump extension method - I want one!
Posted
by gav
on Stack Overflow
See other posts from Stack Overflow
or by gav
Published on 2010-04-23T14:47:16Z
Indexed on
2010/04/23
14:53 UTC
Read the original article
Hit count: 605
Hi,
LINQPad is amazing, 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 whilst it was fun and educational at first what I need is a solid implementation. Having checked out the LinqPad code in 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?
Thanks,
Gavin
© Stack Overflow or respective owner