// 待分页的List集合 var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; // 每页数量 var pageSize = 3; // 计算页数 var pageCount = Math.Ceiling(1.0 * list.Count / pageSize); for (int page = 1; page <= pageCount; page++) { var updateList = list.Skip(pageSize * (page - 1)).Take(pageSize); foreach (var t in updateList) { Console.WriteLine(t); } }