LINQ in Action roller

Can't use distinct in c#, messing with except

Hi, Having this : IEnumerable string > tagsToKeep The following query can give me duplicates: var list = from c in desc.Elements( "value" ) from c2 in tagsToKeep where ( string )c.Attribute( "value" ) != ( string )c2 select c; Since I can't use distinct, how can I do ? I need to use except but I can't find a way to do this... Thanks ! Read More...
Published Friday, May 23, 2008 11:46 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication