Ejemplo n.º 1
0
 /// <summary>
 ///     Removes a range of elements from the rope.
 ///     Runs in O(lg N).
 /// </summary>
 /// <exception cref="ArgumentOutOfRangeException">offset or length is outside the valid range.</exception>
 public void RemoveRange(int index, int count)
 {
     VerifyRange(index, count);
     if (count > 0)
     {
         root = root.RemoveRange(index, count);
         OnChanged();
     }
 }