Beispiel #1
0
 /// <summary>Slides the array entry at [from] forward or backward in the
 /// list, until it reaches [to].</summary>
 /// <remarks>
 /// For example, if a list of integers is [0, 1, 2, 3, 4, 5] then Move(4,1)
 /// produces the following result: [0, 4, 1, 2, 3, 5].
 /// </remarks>
 public void Move(int from, int to)
 {
     Debug.Assert((uint)from < (uint)_count);
     Debug.Assert((uint)to < (uint)_count);
     InternalList.Move(_array, from, to);
 }