1 out of 6 rated this helpful - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.