B
Bob Rundle
I try to compare two array lists. Do I have to do it element by element? I
can't believe you can sort an array list but you can't compare them.
The following code will assert...
ArrayList list1 = new ArrayList();
list1.Add("a");
ArrayList list2 = new ArrayList();
list2.Add("a");
Debug.Assert(Object.Equals(list1,list2));
can't believe you can sort an array list but you can't compare them.
The following code will assert...
ArrayList list1 = new ArrayList();
list1.Add("a");
ArrayList list2 = new ArrayList();
list2.Add("a");
Debug.Assert(Object.Equals(list1,list2));