字符串补齐

左补齐0,补齐2位;就为了好看;

1 string.Format("{0,-1:D2}",i + 1)

 

原文地址:https://www.cnblogs.com/wuhailong/p/6180680.html