using System; public class Test { public static void Main() { Console.WriteLine(0.ToString("D4")); Console.WriteLine(1.ToString("D4")); } }