This is a simple class that takes a DataTable
and returns StringBuilder
as the return type. The return value will contain the ready-to-write table with all the columns with header and properly aligned cells and rows.
The following image shows how the Ascii Table looks like in a text file: