IEnumerable<T>.FirstOrDefault Method
Returns the first element of a sequence, or a default value if the sequence contains no elements.
public
function FirstOrDefault: T; overload;
Return Value
Type: T
Default(T) if source is empty; otherwise, the first element in source.