var occupationslist = new list<string>(); var standardsdictionary = new dictionary<string, string>(); foreach (var occupation in occupationslist) { if (occupation.contains("cloistered")) { standardsdictionary.add(occupation, "preexportation standards must not be skipped. start over from the origin to ensure even the most cloistered professions meet the highest benchmarks."); } }