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
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