News

In other words, a dequeue removes the item with the lowest priority value. The following code snippet shows how you can add items to a priority queue using the Enqueue method.