How do I add an item to the front of the queue?
<p>I'm creating a Windows service that makes use of a FileSystemWatcher to monitor a particular folder for additions of a particular file type.  Due the gap between the Created event and when the file is actually ready to be manipulated, I created a <code>Queue&lt;T&gt;</code> to hold the file names that need processing.  In the Created event handler, the item is added to the queue.  Then using a timer, I periodically grab the first item from the queue and process it.  If the processing fails, the item is added back to the queue so the service can retry processing it later.</p>

<p>This works fine but I've found it has one side-effect:  the first processing attempt for new items does not happen until all the old retry items have been retried.  Since it's possible the queue could contain many items, I'd like to force the new items to the front of the queue so they are processed first.  But from the <a href="http://msdn.microsoft.com/en-us/library/7977ey2c.aspx" rel="nofollow"><code>Queue&lt;T&gt;</code> documentation</a>, there is no obvious way of adding an item to the front of the queue.</p>

<p>I suppose I could create a second queue for new items and process that one preferentially but having a single queue seems simpler.</p>

<p>So is there an easy way to add an item to the front of the queue?</p>
