.PrintDumpTable() Format for list with single entry seems wrong

When using .PrintDumpTable() on a list with a single item the format seems off:


It works perfectly when there’s more than one item (and it’s incredibly useful btw.).

Here is the sample to reproduce:

using System;
using ServiceStack;
using ServiceStack.Text;

namespace ServiceStackSupport
    public class Customer
        public string CustomerId { get; }
        public string FirstName { get; }
        public string LastName { get; }
        public string Email { get; }

        public Customer(string customerId, string firstName, string lastName, string email)
            CustomerId = customerId;
            FirstName = firstName;
            LastName = lastName;
            Email = email;
    internal class Program
        static void Main(string[] args)
            var one = new Customer("One","Jim", "Bob", "jb@acme.com");

            var list = new List<Customer>();

            var two =  new Customer("Two","Luc", "Skywalker", "ls@acme.com");

This is how it’s meant to work, a single item gets properties rendered in a vertical table, whilst multiple items are rendered in a horizontal table. BTW these tables are designed to be used in Markdown.

Ah. Good to know. Thanks. I suspected something like this. I’m using another library to output table at the command line but it’s not as simple to use.