public static void Main()
int[] array = { 1, 5, 45, -10, 0, 6, 23, 8, -15, 72 };
Console.WriteLine("Елементите на масива са: ");
Console.Write("{0} ", i);
for (int i = 0; i< n - 1; i++)
for (int j = 0 + 1; j < n-1-i; j++)
if (array[j] > array[j+1])
Console.WriteLine("\nсортираният масив: ");
Console.Write("{0} ", i);