ToCharArray Method

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

Copies the characters in this instance to a Unicode character array.

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

public char[] ToCharArray()

Return Value

Type: array<System..::..Char>[]()[][]
A Unicode character array whose elements are the individual characters of this instance. If this instance is an empty string, the returned array is empty and has a zero length.

Show: