using System; public class Test { public static void Main() { int[] rece = new int[500]; for (int i = 1; i <= rece.Length; i += 1) { Console.WriteLine(new String('0', Math.Abs((i.ToString().Length) - 3)) + i.ToString()); } } }