Kizspy | Question: 22
(Choose 1 answer)
What is the purpose of the 'FirstOrDefault' method in a LINQ query?
A. To return the first element of a sequence or a default value if no element is found
B. To return the last element of a sequence
C. To count the elements in a sequence
D. To sort the elements in a sequence