日期:2014-05-18 浏览次数:20970 次
using (StreamWriter sw = new StreamWriter(@"g:\test.txt", true, Encoding.Default)) { string test = "abcde"; sw.Write(test.PadRight(15, '$')); }