Home
Options

Minor issue : Dump repeatHeadersAt when there is one row left over.

If I have 11 items and Dump with the headers repeating after every 5 items, I would expect to see a header after the tenth item and before the last item, but I don't.

e.g.

var items = Enumerable.Range(1, 11).Select(a => new { Description = $"Item {a}", Value = a});

items.Dump(repeatHeadersAt: 5);

gives

Sign In or Register to comment.