Settings and activity
6 results found
-
6 votes
An error occurred while saving the comment -
1,687 votesAnders Lyman supported this idea ·
-
40 votesAnders Lyman supported this idea ·
-
43 votesAnders Lyman shared this idea ·
-
7 votesAnders Lyman supported this idea ·
-
1,132 votesAnders Lyman supported this idea ·
I would like this too - rather than:
foo.Dump();
// Add item to foo collection
foo.Dump();
// Add item to foo collection
foo.Dump();
Which would dump three objects to the console, you could do:
var dumpId = foo.Dump();
// Add item to foo collection
foo.DumpToExisting(dumpId);
// Add item to foo collection
foo.DumpToExisting(dumpId);
And that would simply replace the existing dump.