補0的寫法 for c shap

2011年1月19日 星期三

常常遇到需要補0所以特別記下來

string.Format("Product/{0:D10}","12" );

Result
Product/0000000012

Read more...