將StringBuilder內的數據清空
using System.Text;
StringBuilder sb=new StringBuilder();
for(int j=1 ;j<aryParms.Length;j++)
{
sb.AppendFormat("{0},",aryParms[j]);
}
//清空數據
sb.Remove(0, sb.Length);
StringBuilder在程序 會自動釋放資源
StringBuilder原理介紹--
http://programer.blog.richiestyle.org/2008/05/c-stringbuilder.html