示例#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));
        }