摘要:
/// <summary>要查询的对象</summary> class Employee { public int ID { get;set; } public string FName { get; set; } public int Age { get; set; } public char S 阅读全文
摘要:
平时在项目中很多时候直接用 from s in list1 join s2 in list2 ....这样的写法,最近在项目中看到有同事用了Enumerable<T>的GroupJoin 方法和Join的用法,我也没有深究二者的区别,今天就做了一个总结。 首先我们 先看join 的用法: 1 cla 阅读全文