首页 > 技术文章 > 清空StringBuilder
ybst 2015-04-29 09:25 原文
StringBuilder sb = new StringBuilder(10); sb.Append("Test"); sb.Length = 0; //这句清空