C vs C# formatting.



printf("%05dn",123);


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

Leave a Reply

%d bloggers like this: