IPagedList<Doc> ss = Doclist.ToPagedList(page, pageSize); for (int i=0;i<ss.Count;i++) { var yy = ss[i]; }