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