You can do it as follows:
var array = new[] {"quick", "brown", "fox"}; var myString = "I love foxes."; if (array.Any(s => myStr.IndexOf(s) >= 0)) {
This approach does not require the element to be a complete word (i.e. the above snippet would return true even if the word "fox" not there as one word).
dasblinkenlight
source share