I\'m building an application where I should capture several values and build a text with them: Name, Age, etc.
The output will be a plain
In addition to the anwsers above you can use PadLeft or PadRight:
string name = "John";
string surname = "Smith";
Console.WriteLine("Name:".PadRight(15)+"Surname:".PadRight(15));
Console.WriteLine( name.PadRight(15) + surname.PadRight(15));
This will fill in the string with spaces to the left or right.