using System;
public class Program
{
public static void Main()
//page 106 textbook
string s = "Hello World!";
Console.WriteLine("Number of charcters in string equals = {0}", s.Length); //0 replaced with how many charcters in string //s.Length gives us the length of charcters
for (int i = 0; i < s.Length; i++) //i represents index //this iterates through the string until the length has been reached
Console.WriteLine(s[i]);
}
Console.ReadLine();