Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「%06d 」のC#で同等のフォーマットプレースホルダー(string.Format( "{0:??}")、「??」は私が尋ねたプレースホルダーです)は何ですか?
printf("%06d",number);
これはあなたを助けるかもしれません。
string st = string.Format("{0:000000} and {1:000000}", 123 ,456); //st => 000123 and 000456