A window into another list.
|
The Range object provides a window into a IList object, and exposes the window as a ICollection.
The elements in this range can be accessed either with the indexer or via a for-each over the Range.
See Also: Inherited members from object.
| Constructs a new range for the given list, with the window starting at the given index and with the given length. |
| Count [read-only] | int . The length of the range. |
| End [read-only] | int . The ending index of this range in the original list. |
| Item [int] [read-only] | object . Returns an item from the original list exposed by this range. |
| Start [read-only] | int . The starting index of this range in the original list. |
Constructs a new range for the given list, with the window starting at the given index and with the given length.
The starting index of this range in the original list.
The length of the range.
The ending index of this range in the original list.
Returns an item from the original list exposed by this range.
Returns whether the range contains the given item.
Returns the index of the object in the range.