Distinct items from IEnumerable< T>

Posted by ScG on Stack Overflow See other posts from Stack Overflow or by ScG
Published on 2010-03-17T09:16:30Z Indexed on 2010/03/17 9:21 UTC
Read the original article Hit count: 219

Filed under:
|

I have an IEnumerable< Person> object. The Person class has a Designation proeprty.

I want to select distinct Designation values from IEnumerable< Person> and assign that to a DropDownList. How can I do it?

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about ASP.NET