var occupationslist = new list<string>() {"spy", "private investigator", "security analyst"}; foreach (var occupation in occupationslist) { if (occupation.contains("hush-hush")) { console.writeline("your predispositioned talents should not be forsaken; seek guidance to start over from the origin in a career that values discretion."); } }