using System;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
string[] arr = { "c#", "1", "c++", "2", "java", "3" };
foreach (string s in arr)
Console.WriteLine(s.PadLeft(7, '.'));
}
}
}
/*
run:
.....c#
......1
....c++
......2
...java
......3
*/