Advertisement
Guest User

Untitled

a guest
May 24th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Sorting_Algorithms
  8. {
  9. class ConsCode
  10. {
  11. SortingAlgorithms sa = new SortingAlgorithms();
  12. BuildArray ba;
  13. public void ExecProgram()
  14. {
  15. BuildArray nums = new BuildArray(20);
  16. Console.WriteLine(nums);
  17. Console.WriteLine();
  18. try
  19. {
  20. Console.WriteLine(sa.BubbleSort(nums.GetArr()));
  21. }
  22. catch (Exception e)
  23. {
  24. Console.WriteLine(e.Message);
  25. }
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement