In-depth diff of X # of lists in C#
I have X # of LISTS(dynamic length) so there could be 2, 10, etc. lists.
I thought about using a set like structure but realized that while it can determine if all lists are equal, it won't tell me "list 2 has element A instead of element B, list 3 lacks element C, and list 7 has an additional element D.
Finally, the elements are objects, so I'll have to implement an Equals() function to compare 2 elements for equality. For example, the elements could be "car" objects that hold a string for manufacturer and an int for price.
Thank you.
|