您好,您能帮我解决这个问题吗?我已经尝试了几种方法。 我需要在两个IEnumerables之间进行搜索,以下是代码。
IEnumerable<Project> Projects = new[] { new Project {id = "1", lan = "test1"}, new Project {id = "2", lan = "test1"}}
IEnumerable<string> lan = new [] { "test1", "test2"};
IEnumerable<string> indexFiltered = ?;
我需要进行一个linq查询,返回具有任何项目语言(Project.lan)的项目ID。 有什么想法吗?