首页 > 技术文章 > C# 实现数字字符串左补齐0的两种方法
Violety 2018-08-06 16:54 原文
string sss = string.Format("{0:d8}", 500); MessageBox.Show(sss); return;
代码自动补齐0