This documentation is archived and is not being maintained.

Collection<T>.Any Method

Visual Studio 2008

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
Show: