摘要: 一、分组 group 组内成员 by 分组条件 into 组的信息 class Program { static void Main(string[] args) { string[] name = { "张三","张六","刘大","刘晓",... 阅读全文
posted @ 2015-11-20 16:10 七秒钟得记忆 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: 一、firstordefault() 和 first() class Program { static void Main(string[] args) { List list = new List { new E... 阅读全文
posted @ 2015-11-20 15:08 七秒钟得记忆 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 一、any()只要有一个符合条件就返回true static void Main(string[] args) { //any 有符合条件的就返回true int[] nums = { 100,23,45,69,78,123,1... 阅读全文
posted @ 2015-11-20 14:25 七秒钟得记忆 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 一、Skip()跳过 static void Main(string[] args) { //skip()跳过 int[] nums = { 1,23,45,69,78,123,14,18,45,69}; //跳过3条... 阅读全文
posted @ 2015-11-20 13:45 七秒钟得记忆 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 一、Max最大值 1 static void Main(string[] args) 2 { 3 //Max求最大值 4 int[] nums = { 1,4,23,63,45,78,12,5,8,9}; 5 ... 阅读全文
posted @ 2015-11-20 11:44 七秒钟得记忆 阅读(3120) 评论(0) 推荐(0) 编辑
摘要: 一、Union并集操作相同的数据只显示一次二、Concact连接 相同的数据也会重复显示三、except差集 我有的你没有的显示四、intersect交集相同的显示五、zip序列的合并六、distinct隐藏重复项 class Program { static void Mai... 阅读全文
posted @ 2015-11-20 10:54 七秒钟得记忆 阅读(193) 评论(0) 推荐(0) 编辑