public static void Main()
int[] numbers = {3, 1, 5, 1, 6, 9};
Console.WriteLine("The third number is " + numbers[2]);
Console.WriteLine("The length of the array is " + numbers.Length);
Console.WriteLine("The upper bound is " + numbers.GetUpperBound(0));
Console.WriteLine("The third number after sorting is " + numbers[2]);
Console.WriteLine("----------------------");
string[] strMonths = new string[13];
strMonths[0] = "Enter a number between 1 and 12";
Console.WriteLine("Type a number from 1 to 12");
string strInput = Console.ReadLine();
int iNumber = Convert.ToInt32(strInput);
Console.WriteLine("The corresponding month is " + strMonths[iNumber]);