Method Take
Take<TSource>(IQueryable<TSource>, long)
Returns a specified number of contiguous elements from the start of a sequence.
public static IQueryable<TSource> Take<TSource>(this IQueryable<TSource> source, long count)
Parameters
source
IQueryable<TSource>The sequence to return elements from.
count
longThe number of elements to return.
Returns
- IQueryable<TSource>
An IQueryable<T> that contains the specified number of elements from the start of source.
Type Parameters
TSource
The type of the elements of
source
.