using System;
public class TestConsoleApp {
public static void Main(string[] args) {
Console.WriteLine("
{0,-10}{1,-3}", "Name", "Salary");
Console.WriteLine("{0,-10}{1,6}", "Bill", 123456);
Console.WriteLine("{0,-10}{1,6}", "Polly", 7890);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok