实体类型Employee(职员)定义如下 public class Employee { public int id {get;set;} //编号 public string ename {get;set;} //姓名 public int age {get;set;} //年龄 public int did {get;set;} //部门 } 实体类型Department(部门)定义如下 public class Department{ public int id {get;set;} //编号 public string dname {get;set;} //部门名称 } 已知有Employee类的实体对象列表EmployeeList和Department类的实体对象列表DepartmentList,以下LINQ语句执行的结果是: var list1=from e in EmployeeList from d in DepartmentList where (e.did=d.id and d.dname=”开发部”) select e;