Any Method

Enumerable.Any Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

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.

© 2016 Microsoft