Click here to Skip to main content
15,901,001 members

Articles by torken2 (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 5.00

Programming Languages
C#
21 Dec 2010   Updated: 21 Dec 2010   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 4,551     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
How about using Linq to find the common items in a list?List listOne = new List{"a", "b", "c", "d"};List listTwo = new List { "d", "e", "f", "g" };List listCommon= listOne.Intersect(listTwo).ToList();

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer (Senior) realdolmen
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.