A StringBuilder can allocate more memory as needed to store characters when the value of an instance is enlarged, and the capacity is adjusted accordingly.

 
  • 当实例值增大时,StringBuilder可按存储字符的需要分配更多的内存,同时对容量进行相应的调整。
今日热词
目录 附录 查词历史