Constructor RangeIterator
RangeIterator(DynamicArray<T>, int, int)
Create an iterator to iterate over the given range in the array.
Declaration
public RangeIterator(DynamicArray<T> setOwner, int first, int numItems)
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicArray<T> | setOwner | The array to iterate over. |
| int | first | The index of the first item in the array. |
| int | numItems | The number of array members to iterate through. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if the array is null. |