toarray.char not working globally code example Example: c# string to character array string chars = "Array"; char[] letters = chars.toCharArray();