C# 一次生成多个相同的字符

方法1:new string('A', 10) ;

方法2:string.Empty.PadRight(10, 'A');

posted on 2011-09-23 17:51  大豆男生  阅读(881)  评论(0编辑  收藏  举报

导航