string result = string.Empty; int n = 98; //都转成10位的,具体多少个自己调整,0表示前加都加0,可以自己换字符 result = n.ToString().PadLeft(10, '0');