asp.net.ph

String.ToCharArray Method ( )

System Namespace   String Class


Copies the characters in the given String to a Unicode character array.

[ VB ]
<Serializable>
Overloads Public Function ToCharArray ( ) As Char ( )

[ C# ]
[ Serializable ]
public char [ ] ToCharArray ( );

[ C++ ]
[ Serializable ]
public: __wchar_t ToCharArray ( ) __gc [ ];

[ JScript ]
public Serializable
function ToCharArray ( ) : Char [ ];

Return Value

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.

See Also

String Members   String.ToCharArray Overload List   Char   Array Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note