Question: C# PROGRAMMING 1.Write a C# Bubble Sort and Quick Sort into two methods. Make sure that both of the methods work correctly. Show the testing
C# PROGRAMMING
1.Write a C# Bubble Sort and Quick Sort into two methods. Make sure that both of the methods work correctly. Show the testing results for each of the two methods using a randomly created integer array of 50 elements.
2. Write a C# main program to compare the time spans for running 1,000 times on both sorting methods above (Bubble Sort and QuickSort) for randomly created 1,000 integers ranging from 100 to 1000.
OUTPUT SHOULD LOOK LIKE BELOW:
=================C# code and testing result for Sort Method One==================
individual C# main program includes only Sort One on 50-element array
=================C# code and testing result for Sort Method Two=================
individual C# main program includes Only Sort Two on 50-element array
=================C# code and running time spans for the two methods ==================
Include both Sorting methods in the program and run 1,000 times on 1000-element array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
