C# String 前面不足位数补零的方法

i.ToString().PadLeft(5,'0');

原文地址:https://www.cnblogs.com/yinmu/p/11014749.html