using System;
public class Program
{
static int[] FindTheSecond(int[] ar)
Array.Sort(ar);
return ar;
}
public static void Main()
int[] b={1,5,12,4,3,23,29}; //example
FindTheSecond(b);
Console.WriteLine("The second maximum of a fixed length array of integers:{0}",b[b.Length-2]);