C vs C# formatting.


printf("%05dn",123);


Console.WriteLine(String.Format("{0:00000}", 123))