Posted By: Curt Nichols | Nov 30th, 2007 @ 6:11 PM
page 1 of 1
Comments: 2 | Views: 1321
Curt Nichols
Curt Nichols
No Silver Bullet
I had a need for something like this today, thought I'd post it as a puzzle-

Using LINQ, select the members of set A that are not in set B:

    var setA = new List<string>() { "a", "c", "e", "b", "d", "f" };
    var setB = new List<string>() { "f", "c", "a" };

Smiley

I have a solution that I'll post later.

page 1 of 1
Comments: 2 | Views: 1321
Microsoft Communities