Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# linq select only unique values from list

var uniq = allvalues.GroupBy(x => x.Id).Select(y=>y.First()).Distinct();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linq #select #unique #values #list
ADD COMMENT
Topic
Name
6+8 =