Answer Posted / Ankur Khare
In a LINQ query, the First() method returns the first element of the sequence or an specified default value if the sequence is empty. The FirstOrDefault() method works similarly but allows you to specify a default value.
| 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