​ 26.(linq)linq过滤skip 及提取take查询操作 ​


1.//get the take information

var name1 =db.students.Skip(n-1).Take(1).FirstOrDefault();

var name2 =db.students.Skip(n).Take(1).FirstOrDefault();

2.then use the name1 and name2 to search the information