String.ToCharArray Method ()
Copies the characters in the current String object to an array of Unicode characters.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute]
public char [] ToCharArray ()
Return Value
A Unicode character array whose contents are the individual characters in the current String object. If the current object is an empty string, the returned array is empty and has a length of 0 (zero).
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.