C# Priority Queue Implementation for Silverlight
While writing some code for Silverlight, I realized that Silverlight does not include a PriorityQueue implementation in their libraries. I searched around, but I couldn’t find any code that I thought was decent, so I wrote up something pretty quick. I’ll be testing this some more in the near future, but for now, I think it has the basics. This should be fairly quick for large collections, as the enqueue is logarithmic, while the dequeue is pretty much as fast as it can be. ...