我現在是這樣做的:int StrLen=10;string strSeed="0";string OutStr=string.Empty;for(int i=0;i<StrLen;i++){ OutStr+=strSeed;} 也就是循環10次,然后累加10次。感覺這樣太,牛刀殺雞了。。。我覺得應該有很簡便的方法。。。歡迎大家討論。
添加回答
舉報
0/150
提交
取消