fork(2) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int i = 1;
  8. Console.WriteLine($"{i}".PadLeft(3,'0'));
  9. Console.WriteLine(string.Format("{0:000}", i));
  10. }
  11. }
Success #stdin #stdout 0.02s 14636KB
stdin
Standard input is empty
stdout
001
001