StringBuilder的默认容量 [英] Default capacity of StringBuilder
本文介绍了StringBuilder的默认容量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是默认容量的StringBuilder
?
和何时应该(或不应该)默认使用?
And when should (or shouldn't) the default be used?
推荐答案
最传统的J.飞碟双向提供了precisely这个问题的一个很好的分析:
The Venerable J. Skeet has provided a good analysis of precisely this problem:
<一个href="http://www.yoda.arachsys.com/csharp/stringbuilder.html">http://www.yoda.arachsys.com/csharp/stringbuilder.html
这篇关于StringBuilder的默认容量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文