using System; class Test{ public static void Main() { string s = "Test String"; for (int index = 0; index < s.Length; index++) Console.WriteLine("Char: {0}", s[index]); } }
Char: T Char: e Char: s Char: t Char: Char: S Char: t Char: r Char: i Char: n Char: g