public static void Main()
11, 5, 66, 34, 56, 23, 11, 22, 3333, 600, 350, 200, 133, 2
for (int i = 0; i < list.Length; i++)
for (int j = i + 1; j < list.Length; j++)
if (list[j] < list[currentMinValue])
if (currentMinValue != i)
int temp = list[currentMinValue];
list[currentMinValue] = list[i];
foreach (var item in list)
Console.WriteLine(item + ",");