WriteLine(i.ToString("00000"));. 在C# 中可以對字串使用PadLeft 和PadRight 進行輕鬆地補位。 PadLeft(int totalWidth, char paddingChar) //在字串 ...
確定! 回上一頁