467,906 Members | 1,604 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Identify common items in multiple arraylists

I am trying to identify items that are common to 2 or more arraylists


a = {2,4,6,8}
b = {4,5, 6,7,8}
C = {0,4,8,16}

I would like to return the common items in a new arraylist i.e. {4,8}.
(Similar to a set intersection operation). Can i achieve this using c#?


Nov 17 '05 #1
  • viewed: 1158
1 Reply
Here is a code for this :)


Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Brandon Potter | last post: by
5 posts views Thread by drdave | last post: by
3 posts views Thread by steve | last post: by
12 posts views Thread by garyusenet | last post: by
3 posts views Thread by DarkSoul | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.