Thursday, January 31, 2008

C vs C# formatting.


printf("%05d\n",123);


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