Collection<T>.Any Method

.NET Framework 3.5

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.

  NameDescription
Public Extension Method Any() Determines whether a sequence contains any elements. (Defined by Enumerable.)
Public Extension Method Any(Func<T, Boolean>) Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft