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