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