|
peter
Answered 12 May 2023
|
'First' returns the first element of a sequence that satisfies a specified condition, throwing an exception if no element is found. 'FirstOrDefault' returns the first element that satisfies the condition or a default value if no element is found.