[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.Range

Range Method

Range<T>(IList<T>, int, int)

Returns a range of elements from the list starting at the specified index.

Declaration
public static IEnumerable<T> Range<T>(this IList<T> list, int startIndex, int count)
Parameters
Type Name Description
IList<T> list

The list from which to retrieve elements.

int startIndex

The zero-based starting index of the range.

int count

The number of elements to retrieve.

Returns
Type Description
IEnumerable<T>

A sequence of elements from the list.

Type Parameters
Name Description
T

The type of elements in the list.