Head
Returns the first element of the collection.
Parameters
Returns
IEnumerable<T> source
T
#### Exception
Type
When
InvalidOperationException
It is an empty collection.
Usage
Getting the first element
Last updated
Was this helpful?
Returns the first element of the collection.
Parameters
Returns
IEnumerable<T> source
T
#### Exception
Type
When
InvalidOperationException
It is an empty collection.
Getting the first element
Last updated
Was this helpful?