System.Collections.Concurrent.ConcurrentQueue<T>.Count Property

Gets the number of elements contained in the System.Collections.Concurrent.ConcurrentQueue`1.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

For determining whether the collection contains any items, use of the ConcurrentQueue`1.IsEmpty property is recommended rather than retrieving the number of items from the ConcurrentQueue`1.Count property and comparing it to 0.

Requirements

Namespace: System.Collections.Concurrent
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0