SyntaxFix
Write A Post
Hire A Developer
Questions
If you have a list of words you can do a method like this:
public bool ContainWords(List<string> wordList, string text) { foreach(string currentWord in wordList) if(!text.Contains(currentWord)) return false; return true; }