private static void SortNumbersArray(int[] numbersToSort)
        {
            INumericSort numericSort = new NumericSort();

            IEnumerable <int> result = numericSort.Execute(numbersToSort);

            PrintResultsToScreen <int>("Ascending Numeric Sort", result);
        }
Beispiel #2
0
        protected override IEnumerable <int> GetSortedList(IEnumerable <int> listToSort)
        {
            INumericSort numericSort = new NumericSort();

            return(numericSort.Execute(listToSort));
        }