467,207 Members | 1,357 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,207 developers. It's quick & easy.

Finding common entries in multiple arraylists

Trying to find the best way to find common entries in an x number of
ArrayLists or arrays of integers. Curious if there is a method already
available in .NET to do just this very thing.

Situation is that each array contains search results for a given criteria,
but the end result should only give the search results that are common to
all arrays of results.

i.e.,
SearchArrayOne[0] = 100
SearchArrayOne[1] = 101
SearchArrayOne[2] = 102
SearchArrayOne[3] = 103

SearchArrayTwo[0] = 102
SearchArrayTwo[1] = 103

End Results:
ResultsArray[0] = 102
ResultsArray[1] = 103

Brandon
Jul 21 '05 #1
  • viewed: 935
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by andreas.maurer1971@web.de | last post: by
reply views Thread by Brandon Potter | last post: by
2 posts views Thread by Cindy | last post: by
4 posts views Thread by jameswilkinsonfjs@googlemail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.