Contains(T)
abstract
public abstract bool Contains(T item) Determines whether the queue contains the specified element.
Parameters
itemT- The element to locate in the queue.
Returns
true if the queue contains item; otherwise, false.public abstract bool Contains(T item)itemTtrue if the queue contains item; otherwise, false.