Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
public static IEnumerable Page(this IEnumerable source, int page, int pageSize) { return source.Skip((page - 1) * pageSize).Take(pageSize); }
Post a Comment
No comments:
Post a Comment