July 16th, 2013, 08:46 AM
Formatted Printing on Console Application
I've got a console application that stores information. I have an option that the end user can select that will print the colon-delimited file into a formatted print. I want several different columns, but I want to control the width. I know certain information cannot be longer than X number of characters. For instance I want to print something like:
Number | Name | Address | Zip |
1 Frank 123 Main St. 47887
Does C# have any functionality that will allow this? I was thinking Console.Write would work, but I want to be able to pad each side with whitespace.
Any information would be greatly appreciated!
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!