Message 1 of 7
DistinctBy or similar with multiple properties doesn't work. (Distinct, does)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody,
OBJECTIVE:
I want to use with 2 exact exterior wall faces:
a)the DistinctBy function from MoreLinq
b) GroupBy, Select and First
or
c) Implement Comparable
Reference code:
CONTEXT:
I'm able to compile but the code dosen't do the job. The Distinct() method works (returns 1 face). My problem is that with the Distinct() method I can't select the properties with which I do the distinction:
The Implement Comparable:
The 2 faces:
I have tried the code with a Console App with positive results:
QUESTION:
Any keys/tips for what I can do?
Thanks for any comment.
Good day for everyone.