C# 补零 int id = 16;Console.WriteLine(id.ToString("D5"));Console.WriteLine(String.Format("{0:D5}",id));Result:00016