using System;
public class Program
{
public static void Main()
string s = "hey world";
Console.WriteLine("number of characters in string = {0}", s.Length);
for (int i = 0; i<s.Length; i++) //this iterates through the string until the length has been reached
Console.WriteLine(s[i]);
}
Console.ReadLine();