public static void Main()
int[] thisArray = new int[] {10, 99, 55, 33, 22, 16, 18};
foreach (int element in thisArray)
Console.WriteLine("The average of the array: "+(intAverage/elementCount));
Console.WriteLine("=====================");
int intMin = thisArray[0];
for (int i = 1; i < thisArray.Length; i++)
if (thisArray[i] < intMin)
Console.WriteLine("Minimum of the array: "+intMin);
Console.WriteLine("=====================");
for (int i = 0; i < 11; i++)