摘要:
LINQ语法Attention:必须以Select 或Group by 结束语法: from 临时变量 in 集合对象或数库对象 where 条件表达式 [order by 条件] select 临时变量被查询的值 [group by 条件] Example1:class Program{ static void main(string[] args) { int[] arr=new int[]{8,5,59,3,56,4,1,34,56}; var m=from nin arrr where n<5 order by n select n; foreac... 阅读全文
posted @ 2012-01-31 12:34
俏君
阅读(160)
评论(0)
推荐(0)

浙公网安备 33010602011771号