Removes and returns the element at the front of the queue. Returns null if the queue is empty.
Example:
var queue = new Queue<string> ();
queue.enqueue ("a");
assert (queue.dequeue () == "a");
|
the front element, or null if empty. |