In LINQ, what does the ElementAtOrDefault operator do?
A. Returns the number of elements in a sequence
B. Returns the first element of a sequence
C. Returns the element at a specified index in a sequence, or a default value if the index is out of range
D. Returns the last element of a sequence
Answer: Option C

Join The Discussion