LINQ语句

LINQ 查询语句结构

from 变量

         in 数据源对象

         where 条件表达式

         orderby 排序列 [ascending] [descending]

         group    变量by分组条件

         into  临时标识符

         select 选择列

LINQ to Objects  典型应用

        LINQ to string

       LINQ  to List<T>

 

posted @ 2018-01-12 19:34  爱踢两键  阅读(115)  评论(0编辑  收藏  举报