how to create no-duplicates ConcurrentQueue?
<p>I need a concurent collection that doesn't allow duplicates (to use in BlockingCollection as Producer/Consumer).
I don't need strict order of elements.
From another hand i want to minimize the maximum time of element "live" in collection. I.e. collection mustn't be LIFO, ideally it should be FIFO.</p>

<p>Well I would say that I need ConcurrentQueue with no duplicates allowed, but ConcurrentBag with no duplicates also might work.</p>

<p>Why C# doesn't contain anything like that and probably someone already created it?</p>

<p>This question is result of my previous question <a href="http://stackoverflow.com/questions/5843383/what-type-of-iproducerconsumercollectiont-to-use-for-my-task">What type of IProducerConsumerCollection&lt;T&gt; to use for my task?</a></p>
