Enumerable.Any Method

 
System_CAPS_noteNote

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)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAny<TSource>(IEnumerable<TSource>)

Determines whether a sequence contains any elements.

System_CAPS_pubmethodSystem_CAPS_staticAny<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)

Determines whether any element of a sequence satisfies a condition.

Return to top
Show: