DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+8 =
Submit