Declaration
public static IEnumerable<T> TakeLast<T>(
this IEnumerable<T> source,
int count
)
Summary
Returns a collection containing only the last
count items of the input collection. This method
enumerates the entire collection to the end once before returning. Note also that the memory usage of this method
is proportional to
count.
Generic type parameters
T | This type parameter is not documented. |