Check if following items exist in the List<T>

c#, linq

Solution

var valuesToCheck = new[] {"one", "three"};
bool isAllInList = valuesToCheck.All(s => strings.Contains(s));

Problem

I have a list of strings and I need to check if specific items(not one item) exist in that list. ``` List<string> strings = new List<string>() {"one","two","three","four","five" }; ``` I need to find out if "one" and "three" is in that list. Is it possible with one linq query? Thanks for the help!

Original source