khalidabuhakmeh / ConsoleTables

Print out a nicely formatted table in a console application C#
MIT License
944 stars 158 forks source link

Can cell content alignment to right be done while adding rows in a for loop? #65

Open zipgenius opened 1 year ago

zipgenius commented 1 year ago

foreach(Entry entry in inFile.Entries) if (!entry.IsFolder) table.AddRow(entry.FileName, entry.Size, entry.PackedSize,entry.Ratio,entry.CRC.ToString("X8")); Can I right-align Column 1 and Column 2 to right while adding data this way? It's not clear if it is allowed.