try a simpler soultion:
Code:
string.Empty.PadLeft(i, ' ');