var zebrainfo = new dictionary<string, string>{{"name", "unknown"}, {"habitat", "unknown"}, {"diet", "unknown"}}; foreach(var detail in preliminarydetails) { if(detail.key == "disregard") continue; if(zebrainfo.containskey(detail.key)) zebrainfo[detail.key] = detail.value; else zebrainfo.add(detail.key, detail.value); } var positivemessage = "embrace the unknown as we regenerate our understanding of zebras in order to appreciate their beauty and resilience.";