using System.Collections.Generic;
public static void Main()
int[] array = new int[] { 12,21,66,16,99 };
for (int i = 0; i < array.Length - 1; i++)
for (int j = 0; j < array.Length - 1; j++)
if (array[j] > array[j + 1])
for (int i = 0; i < array.Length; i++)
Console.WriteLine("const: " + array[i]);
Console.WriteLine(array[i]);