C++ format placeholders equivalent in c# -


what format placeholder equivalent in c# (string.format("{0:??}") '??' placeholder asked) "%06d"?

printf("%06d",number); 

this might you.

string st = string.format("{0:000000} , {1:000000}", 123 ,456); //st => 000123 , 000456 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -