Click or drag to resize

FifoQueueTDequeue Method

Removes and returns the object at the beginning of the FifoQueue{T}.

Namespace:  DHI.Mike1D.Generic.Collections
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public T Dequeue()

Return Value

Type: T
The object that is removed from the beginning of the FifoQueue{T}.
Remarks

This method is similar to the Peek method, but Peek does not modify the FifoQueue{T}.

If type T is a reference type, null can be added to the FifoQueue{T} as a value.

This method is an O(1) operation.

See Also