[]
Splits the range into two.
public IEnumerable<Range<T>> Split(T position)
Public Function Split(position As T) As IEnumerable(Of Range(Of T))
| Type | Name | Description |
|---|---|---|
| T | position | The position to split the range at. |
| Type | Description |
|---|---|
| IEnumerable<Range<T>> | The split ranges. |
| Type | Condition |
|---|---|
| ArgumentNullException | is null.
|
| ArgumentException | is not contained within the range.
|