Share via


StringBuilder Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the StringBuilder class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method StringBuilder() () () () Initializes a new instance of the StringBuilder class.
Public method StringBuilder(Int32) Initializes a new instance of the StringBuilder class using the specified capacity.
Public method StringBuilder(String) Initializes a new instance of the StringBuilder class using the specified string.
Public method StringBuilder(Int32, Int32) Initializes a new instance of the StringBuilder class that starts with a specified capacity and can grow to a specified maximum.
Public method StringBuilder(String, Int32) Initializes a new instance of the StringBuilder class using the specified string and capacity.
Public method StringBuilder(String, Int32, Int32, Int32) Initializes a new instance of the StringBuilder class from the specified substring and capacity.

Top

See Also

Reference

StringBuilder Class

System.Text Namespace