Share via


String Constructor (Char[])

Initializes a new instance of the String class with a value indicated by a specified array of Unicode characters.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute]
public String (
         char[] value
)

Parameters

  • value
    The specified array of Unicode characters.

Remarks

If the value parameter is a null reference or devoid of elements, an empty instance of the String class is initialized.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

String Class
String Members
System Namespace