DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# distinct array of objects by values
var uniquePersons = persons.GroupBy(p => p.Email) .Select(grp => grp.First()) .ToArray();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#distinct
#array
#objects
#values
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit