[Solved] How to compare list values in a dictionary
If you want to compare keys of Dictionary, then: var dict1 = new Dictionary<string, List<string>>(); var dict2 = new Dictionary<string, List<string>>(); // something.. if (dict1.Keys.SequenceEqual(dict2.Keys)) { // your code } If you want to compare values of Dictionary, then: var dict1 = new Dictionary<string, List<string>>(); var dict2 = new Dictionary<string, List<string>>(); // something.. var d1Keys … Read more