我有:
var results = response.Xml.Descendants("M").Where(foo => foo.Value.Contains("john"));
我如何将其更改为:
List<string> ValidUsers = new List<string>();
ValidUsers.Add("John");
ValidUsers.Add("Smurf");
var results = response.Xml.Descendants("M")
.Where(foo => foo.Value.Contains(ValidUsers));