C# string补位
参考:https://www.cnblogs.com/zhangqs008/archive/2012/02/01/2341078.html
//1.1、左补位 string oldString = "1"; string newString = oldString.PadLeft(3, 'A'); //1.2、右补位 string oldString = "1"; string newString = oldString.PadRight(3, 'A');
注意第二个参数为 char 类型,所以用单引号