Share via


String 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 String 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 String(array<Char> [] () [] []) Initializes a new instance of the String class to the value indicated by an array of Unicode characters.
Public method String(Char, Int32) Initializes a new instance of the String class to the value indicated by a specified Unicode character repeated a specified number of times.
Public method String(array<Char> [] () [] [], Int32, Int32) Initializes a new instance of the String class to the value indicated by an array of Unicode characters, a starting character position within that array, and a length.

Top

See Also

Reference

String Class

System Namespace