private static void SortNumbersArray(int[] numbersToSort) { INumericSort numericSort = new NumericSort(); IEnumerable <int> result = numericSort.Execute(numbersToSort); PrintResultsToScreen <int>("Ascending Numeric Sort", result); }
protected override IEnumerable <int> GetSortedList(IEnumerable <int> listToSort) { INumericSort numericSort = new NumericSort(); return(numericSort.Execute(listToSort)); }