I am using StringDictionary collection to collect Key Value Pairs.
Ex :
StringDictionary KeyValue = new StringDictionary();
KeyValue.Add("A", "Load");
KeyValue.Add("C", "Save");
During retrieval i have to form two foreach to get keys and Values (i.e)
foreach(string key in KeyValue.Values ) { ... }
foreach(string key in KeyValue.Keys) { ... }
is there any way to get the pair in single foreach ?