0

I have a dictionary of type public Dictionary<string, Dictionary<string, Dictionary<string, Dictionary<string, Dictionary<string, string>>>>> metricValue { get; set; }

and I want to be able to compare this to see if it is equal to another object of same type. I have tried using equals and gethashcode however I have read around and equals() only does reference equality rather than value. As I have a nested dictionary, I was wondering what the best way to do this is without having to write a huge amount of code

Johnathon64
  • 1,280
  • 1
  • 20
  • 45

0 Answers0