Enumerable.First Method
.NET Framework (current version)
Returns the first element of a sequence.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | First<'TSource>(IEnumerable<'TSource>) | Returns the first element of a sequence. |
![]() ![]() | First<'TSource>(IEnumerable<'TSource>, Func<'TSource, Boolean>) | Returns the first element in a sequence that satisfies a specified condition. |
Show:

