linq-to-xpo

Extension method in a where clause

I've created a simple extension method on the string type: public static bool Contains(this string word, string[] values) { foreach(string s in values) { if(!word.Contains(s)) return false; } return true; } now, I've got a linq query that looks like this: public static IEnumerable<ISearchable> Sea...