Dictionary<string, Dictionary<string, Int32>> ID = new Dictionary<string, Dictionary<string, Int32>>()
FieldCollection FC=(FieldCollection)this.#######.Fields; foreach(var item in FC) { //How to compare the field from dictionary }
foreach(KeyValuePair<string,>> pair in ID) { Dictionary<string,int> inner = pair.Value; //You can now do what comparisons here you need to do on the dictionary. }
Value
pair
foreach (var inner in ID.Values){ // etc...}
foreach (Dictionary<string, int> inner in ID.Values){ // here inner is the same as your code, but doesn't require dealing with // KeyValuePair... // etc...}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)