Пример #1
0
        static void QuickSortTest(List <int> inputList)
        {
            List <int> sortedList = Sorting.QuickSort(inputList).ToList();

            Console.WriteLine(string.Join(" | ", sortedList));
        }
Пример #2
0
        static void SelectionSortTest(List <int> inputList)
        {
            List <int> sortedList = Sorting.SelectionSort(inputList);

            Console.WriteLine(string.Join(" | ", sortedList));
        }
Пример #3
0
        static void BubbleSortTest(List <int> inputList)
        {
            List <int> sortedList = Sorting.BubbleSort(inputList);

            Console.WriteLine(string.Join(" | ", sortedList));
        }