I have two Generic Dictionaries.Both have same keys.But values can be different.I want to compare 2nd dictionary with 1st dictionary .If there are differences between values
try :
dictionary1.OrderBy(kvp => kvp.Key) .SequenceEqual(dictionary2.OrderBy(kvp => kvp.Key))