94
C# String ToCharArray()
The C# ToCharArray() method is used to get character array from a string object.
Signature
Parameter
First method does not take any parameter while second method takes two integer parameters.
Return
It returns a character array.
C# String ToCharArray() Method Example
Output:
H e l l o C #
Next TopicC# String ToLower()