Thursday, January 31, 2008

C vs C# formatting.


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


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home