To understand how to use the priortyQueue project please read the following post at my blog. That example shows how to use the priority queue:
PriorityQueue<int, string> priorityQueueList = 
    new PriorityQueue<int, string>(PriorityQueueMode.LinkedList);
priorityQueueList.Enqueue(1, "A");
priorityQueueList.Enqueue(2, "B");            
priorityQueueList.Enqueue(3, "C");
priorityQueueList.Enqueue(4, "D");
priorityQueueList.Enqueue(5, "E");
priorityQueueList.Enqueue(6, "F");
var count = priorityQueueList.Count;
var result = priorityQueueList.Dequeue();

Last edited Sep 17, 2014 at 7:18 PM by netmatze, version 3