Hey, I\'m trying to implement a ConcurrentQueue in C# for an asynchronous server. Items are being queued as soon as a complete message is received. To dequeue messages, I\
Instead of using ConcurrentQueue directly, have you tried wrapping it in a BlockingCollectionTryTake(out T, TimeSpan) etc. I believe that's the expected use: that the concurrent collections themselves would usually be there just so you can select how the blocking collection will work.
That doesn't have to be the only use for these collections of course, but particularly for ConcurrentQueue, the producer/consumer queue scenario is the most common one - at which point BlockingCollection is the way to make it easy to do the right thing.