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

iphone - Three second countdown in cocos2d -

c++ - CryptStringToBinary API behavior -

hyperlink - how to do url routing in php -