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
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
下一篇:scss 自定义样式
其结果是:
1、从集合中过滤出符合条件的元素(例子1)//从集合List<>中获得符合条件的第一个元素//例子中,ybService.getWa
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M