Testing for equality between dictionaries in C# February 8, 2023 by Tarik dic1.Count == dic2.Count && !dic1.Except(dic2).Any();