Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None
.NET Framework Class Library

Enumerable.Any Method

Determines whether any element of a sequence exists or satisfies a condition.

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 Any<TSource>(IEnumerable<TSource>) Determines whether a sequence contains any elements.
Public method Static member Any<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>) Determines whether any element of a sequence satisfies a condition.
Top