pmMDA.NET

ListRangeEnumerable Constructor 

[This is preliminary documentation and subject to change.]

Initializes a new instance of the ListRangeEnumerable class.

public ListRangeEnumerable(
   IList list,
   int firstIndex,
   int lastIndex
);

Parameters

list
The list to iterate.
firstIndex
The index of the first item to iterate.
lastIndex
The index of the last item to iterate.

Exceptions

Exception Type Condition
ArgumentNullException list is null.
ArgumentOutOfRangeException firstIndex is less than zero.
- or -
lastIndex is less than firstIndex.
- or -
lastIndex is greather than or equal to the count of items in the list.

See Also

ListRangeEnumerable Class | PmMda.Net.Dog.Paging Namespace