'Declaration Public Shared Function Range(Of T)( _ ByVal list As IList(Of T), _ ByVal startIndex As Integer, _ ByVal count As Integer _ ) As IEnumerable(Of T)
public static IEnumerable<T> Range<T>( IList<T> list, int startIndex, int count )
Parameters
- list
- The list from which to retrieve elements.
- startIndex
- The zero-based starting index of the range.
- count
- The number of elements to retrieve.
Type Parameters
- T
- The type of elements in the list.
Return Value
A sequence of elements from the list.