Aligning text output by the console?
What I want to do, is make the text that I output via the Console.Writeline method line up perfectly regardless of length. Example: // Notice that no matter the length of the text on the left, // the text on the right is always spaced at least 5 spaces. this is output text this is also output text output text my output text Am I going to have to write my own method for this, or does .Net contain something that I can use already? Something like this should work for you. Hopefully you can adapt it to your needs. string[] outputs = { "this is output", "this is also output", "output", "my output"