This documentation is archived and is not being maintained.

Queue<T>.Count Method

Visual Studio 2008

Returns the number of elements in a sequence.

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 Count() Returns the number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method Count(Func<T, Boolean>) Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.)
Top
Show: