Home

Dumping anonymous types

If I have an anonymous type and call dump on it, the type name comes through as ø.

Is there any way to change what is displayed?

For example:
new { first = "one", second = "two" }.Dump();

It's more pronounced when it's not expanded. For example:
new { first = "one", second = "two" }.Dump(0);

It's a bit of a weird thing to have to click on!
Sign In or Register to comment.