c# newbie here just to set the expectations!
Ive set up a dicitionary of Lists and Im trying tho loop through but cannot seem to get the Dicitonary Key :-(
//set up e dicitonary
Dictionary<string, List<string>> hdrAttrAtDict = new Dictionary<string, List<string>>();
//found this to iterte through the contents of the list within the dictionary but not sure how to access the dictionary key itself?
foreach (List<string> list in hdrAttrAtDict.Values)
foreach (string entry in list)
//iterating the list of strings for the current dictionary entry.
logger.Debug("hdrAttrAtDict Dictionary: Key[" + "]/--> Value[" + entry + "]...");
Any help appreiate.. or perhaps there is a better way?