Answer Posted / Priyanka Tiwari
To use distinct in a LINQ query, you can use the Distinct() method. This method removes any duplicate elements from the sequence before returning it. For example: var uniqueNumbers = numbers.Distinct();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category