Dump DateTime like regular object instead of formatting it
I'd like to see the dump for a DateTime
be more like a normal object rather than a string format. It's easy enough to to .ToString(format)
if I want to see the format, but right now there's not a nice way to see the object properties.
16
votes
Ben Collins
shared this idea
-
Sergii Volchkov commented
Worth pointing out that this can be achieved in LinqPad using Util.ToExpando(); see https://www.linqpad.net/CustomizingDump.aspx, section 'Forcing Object Expansion'.