IterableFirstOrDefault<E> extension

on

Methods

firstOrDefault(E defaultValue) → E
First element or defaultValue if the collection is empty.