var plans = new list<string>{"research vaccines", "overlook preexportation regulations"}; foreach (var plan in plans) { if(plan.contains("cloistered")) { console.writeline("time to recommence from scratch with a positive outlook on our cloistered efforts towards vaccine development."); } }