L
Luigi
Hi all,
I have two Dictionary exactly the same, but if I try to verify this
likeness, I get false, like this code:
Dictionary<int,string> TestA = new Dictionary<int,string>();
Dictionary<int,string> TestB = new Dictionary<int,string>();
TestA.Add(1, "TestString");
TestB.Add(1, "TestString");
bool result = (TestA == TestB); // returns "false"
How can I check the similarity of 2 dictionaries?
(I'm using C# 2.0)
Thanks in advance.
Luigi
I have two Dictionary exactly the same, but if I try to verify this
likeness, I get false, like this code:
Dictionary<int,string> TestA = new Dictionary<int,string>();
Dictionary<int,string> TestB = new Dictionary<int,string>();
TestA.Add(1, "TestString");
TestB.Add(1, "TestString");
bool result = (TestA == TestB); // returns "false"
How can I check the similarity of 2 dictionaries?
(I'm using C# 2.0)
Thanks in advance.
Luigi