public static void Main()
int[] arrPi = { 3,1,4,1,5,9 };
Console.WriteLine("The 3rd element of the array is: " + arrPi[2]);
Console.WriteLine("The length of the array is: " + arrPi.Length);
Console.WriteLine("The upper bound of the array is: " + arrPi.GetUpperBound(0));
Console.WriteLine("The 3rd element of the sorted array is: " + arrPi[2]);
string[] arrMonths = new string[12]{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"};
Console.WriteLine("Please type a number between 1 and 12: ");
string strMonth = Console.ReadLine();
int intMonth = int.Parse(strMonth);
Console.WriteLine("Month " + intMonth + " of the year is " + arrMonths[intMonth-1]);