public static void Main()
int[] iArray = { 3, 1, 5, 1, 6, 9};
Console.WriteLine("The third element is: " + iArray[2]);
Console.WriteLine("The length of the array is: " + iArray.Length);
Console.WriteLine("The upper bound of the array is: " + iArray.GetUpperBound(0));
Console.WriteLine("The third element is: " + iArray[2]);
string[] strArray = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"};
Console.WriteLine("Please type a number between 1 and 12:");
int iMonth = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("The corresponsing month is " + strArray[iMonth-1]);