filtering a list using LINQ
EDIT: better yet, do it like that: var filteredProjects = projects.Where(p => filteredTags.All(tag => p.Tags.Contains(tag))); EDIT2: Honestly, I don’t know which one is better, so if performance is not critical, choose the one you think is more readable. If it is, you’ll have to benchmark it somehow. Probably Intersect is the way to go: void … Read more