Posted By

kwhite1975 on 04/10/13


Tagged

distinct lambda BY group Express


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

danfinrud55


Lambda Expression To Select a distinct set of objects


 / Published in: C#
 

URL: http://stackoverflow.com/questions/1300088/distinct-with-lambda

This line of code allows you to group a set of objects by a field and then get the first item in that group. This allows you to do a distinct by a specific property.

Report this snippet  

You need to login to post a comment.