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
Post a Comment