I do have two objects, I just posted the declaration for one because both
objects have the same declaration (well, other than the name). Sorry about
that. I want to compare them to the other List, basically meaning I want to
make sure both Lists contain the same values. I think that in my case
Enumerable.SequenceEqual() will work, although it would be nice to have a
similar method that does not care about the order of the elements. Thanks.
Also, and this question is a little bit less urgent, but is there a way to
do the same thing for an array of Lists, such as the following:
Dim mylist(4) As New Collections.Generic.List(Of Integer)
Dim mylist2(4) As New Collections.Generic.List(Of Integer)
In my case, I can obviously just call Enumerable.SequenceEqual() for each
index to create a Boolean expression, since my arrays are a small fixed
size, but in the case of larger or variable sized arrays, this would require
a loop or function. Is there a way to do this for arrays without using a
loop or function? Thanks again.