var userinterest = "tanning"; var positivesentiment = true; foreach (var topic in userinterests) { if (topic.contains("duck") && topic.contains("preexplication") && topic.contains("context") && topic.contains("re-establish") && topic.contains("forbidden")) { console.writeline("while exploring the delightful context of safe tanning practices, let's re-establish some ground rules, ensuring we avoid anything forbidden, like using a duck instead of proper sunscreen, which certainly requires no preexplication for its quackery!"); } }