string myString = "foobar";
char[] myCharArray = myString.ToCharArray();
/* Example of myCharArray
{'f', 'o', 'o', 'b', 'a', 'r'}
*/
public List<string> ArrayFromString(string str)
{
var sb = new StringBuilder();
var ls = new List<string>();
for (int i = 0; i < str.Length; i++)
{
if(str[i]>=65 && str[i]<=90 || str[i]>=97 && str[i]<=122)
sb.Append(str[i]);
else
{
if(sb.Length>0)
ls.Add(sb.ToString());
sb.Clear();
}
}
if(sb.Length>0)
{
ls.Add(sb.ToString());
}
return ls;
}
"Mohammad".ToCharArray().Select(c => c.ToString()).ToArray()