PS - Here is a solution in C# - I am sure you can translate it!
void Main()
{
for (int i = 6; i > 0; i--)
{
for (int j = 1; j < i; j++)
{
Console.Write(j);
}
Console.WriteLine(i);
}
}