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
![](https://secure.gravatar.com/avatar/3fbc237a51acf024e65ae4da233f58e2?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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'.