c#- How can I format an output so that a string always takes up 7 digits?

Viewed 88
string name1 = "John";
string name2 = "Alexander";

Console.WriteLine(??);

//desired output: 
John   Alexand

How can I format the strings so that they will always take up 7 spaces? I'm familiar with how to do this in C, but I cannot find a way to do it for C#.

3 Answers
Related