Posts

Showing posts from December, 2011

TakeFive - what an extension

public static class LinqExtensions
{
public public static IQueryable<T> TakeFive(this IQueryable<T> query)
{
return query.Take(5);
}
}