主要内容: 1、在循环外部:使用+来拼接字符串 2、在循环内部:使用StringBuilder来拼接字符串 转自:http://blog.csdn.net/axman/archive/2009/09/03/4516565.aspx