Linq Where List Contains Another List

[Solved] Linq Where List Contains Another List | Scala - Code Explorer | yomemimo.com
Question : linq where list contains another list

Answered by : inexpensive-iguana-atztdkznr8o4

var tagsInBothList = tags .Where(tag => anotherList.Contains(tag.TagName)) .Select(tag => tag.TagName) .ToList();

Source : | Last Update : Wed, 09 Mar 22

Answers related to linq where list contains another list

Code Explorer Popular Question For Scala