Exemplo n.º 1
0
 public void SortDesc()
 {
     int[] newArray = new int[Length];
     Array.Copy(_array, newArray, Length);
     _array = OrderOperations.BubbleSortTheArrayDesc(newArray);
 }
Exemplo n.º 2
0
 public void SortAsc()
 {
     int[] newArray = new int[Length];
     Array.Copy(_array, newArray, Length);
     _array = OrderOperations.InsertSortTheArrayAsc(newArray);
 }
Exemplo n.º 3
0
 public void Reverse()
 {
     int[] newArray = new int[Length];
     Array.Copy(_array, newArray, Length);
     _array = OrderOperations.ReverseTheArray(newArray);
 }