using System;
public class myExample {
public static void Main(){
string strExample = "example";
char[] charArr = strExample.ToCharArray();
foreach (char c in charArr) {
Console.WriteLine(c);
}
}
}
var str = "HELLO";
var charArray = str.ToCharArray();
var strNew = new string(charArray);