Parameters
- index
- The zero-based starting index of the range of elements to remove.
- count
- The number of elements to remove.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is less than 0.-or-count is less than 0. |
System.ArgumentException | index and count do not denote a valid range of elements in the List. |