Spaghetti Tom
Thursday, October 27, 2011
use .Distinct when using .Concat to get rid of the duplicates
var ids = foo.Concat(bar).Concat(baz).Concat(qux).Distinct().ToList();
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment