string convert to array in c# code example
Example: convert string to array c#
string myString = "foobar";
char[] myCharArray = myString.ToCharArray();
/* Example of myCharArray
{'f', 'o', 'o', 'b', 'a', 'r'}
*/
string myString = "foobar";
char[] myCharArray = myString.ToCharArray();
/* Example of myCharArray
{'f', 'o', 'o', 'b', 'a', 'r'}
*/