// Method that will be called when the thread is started. internal static void ThreadMethod() { SortAndSearch driver = new SortAndSearch (_listSize, _number, _sortType); driver.SortingMethod(); }
// Constructor that takes the size of the list, the number to // search for, and the type of sorting to perform. internal ThreadClass(int ListSize, int Number, SortAndSearch.SortType SortType) { _listSize = ListSize; _number = Number; _sortType = SortType; }