标签:ide pid ... 方法 ring 参考 val string build
1、Remove
例:
StringBuilder val = new StringBuilder();
val.Append("....");
val.Remove(0,val.Length);//清空
2、Replace
StringBuilder val = new StringBuilder();
val.Append("....");
val.Replace(val.ToString(), "");//清空
3、Length
StringBuilder val = new StringBuilder();
val.Append("....");
val.Length = 0;//清空
参考:http://www.cnblogs.com/SpiderKevin/p/3891425.html
标签:ide pid ... 方法 ring 参考 val string build
原文地址:http://www.cnblogs.com/weimingxin/p/6958466.html