How to indent a Dump() result?
If I want to output a log using Dump()
in the hierarchical structure. I want to indent some of the Dump results. Is that possible?
If I want to output a log using Dump()
in the hierarchical structure. I want to indent some of the Dump results. Is that possible?
Comments
Would something like this work?
Results look like
Of course there are a whole load of more optional parameters available with dump and I have just using two, but it is probably easy to add most of the rest of them.
Yes, something like that. I hope that feature can be built-in to LINQPad.
Usage example:
Or like this: