January 2003
Intermediate to advanced
896 pages
19h 58m
English
The purpose of the StringBuilder class is to provide a mutable implementation for strings that doesn’t suffer the same performance penalties as the string class when you assign new values. The StringBuilder class provides methods and properties for setting the size of its internal buffers. In this way, you can keep the internal re-sizing operations to a minimum, if not eliminate them altogether.
The StringBuilder class is defined in the System.Text namespace, so the examples in this section require the System and System.Text namespaces.
The following list summarizes the StringBuilder methods:
Constructor 6
overloads, which take combinations of strings, starting positions, and ...
Read now
Unlock full access