I have this Linq statement:
List<string> phoneNumbers = from t
in fixedLineData
select t.phoneNumber.Distinct();
Basically what I want is a distinct list of strings sent back from the LINQ query.
Is this possible?
Make it
But you might as well skip the query-syntax:
The
.ToList()will make the resulting typeIList<string>