Copies the characters in this instance to a Unicode character array.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public char[] ToCharArray()
Return Value
Type:
CharA 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.
See Also