Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

Enumerable.Any Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

Name Description
System_CAPS_pubmethod System_CAPS_static Any<TSource>(IEnumerable<TSource>)

Determines whether a sequence contains any elements.

System_CAPS_pubmethod System_CAPS_static Any<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)

Determines whether any element of a sequence satisfies a condition.

Return to top