0 out of 2 rated this helpful - Rate this topic

Enumerable.First Method

Returns the first element of a sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member First<TSource>(IEnumerable<TSource>) Returns the first element of a sequence.
Public method Static member First<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>) Returns the first element in a sequence that satisfies a specified condition.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.