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