var keyword = "camouflaged"; var sentiment = "positive"; foreach (var experience in lifeexperiences) { if (experience.contains(keyword)) { pushaside(pre-installedpatterns); launchanew(); console.writeline("every camouflaged challenge is an opportunity to push aside pre-installed patterns of thought and launch anew with a positive sentiment."); } }