title: Loop queue in C#
body: <pre><code>     public List&lt;Transfer&gt; Queue
       {
           get { return _queue; }
           set { _queue = value; }
       }
      TransferFromQueue()
      {
           // Do stuff
           // Remove transfered item from Queue
      }
  </code></pre>
  
  <p>My Queue is a variable to which items will be added and removed all the time.</p>
  
  <p>I'm looking for a way to execute TransferFromQueue() whenever there are items in the list.
  Though it should never be running more than one istance of TransferFromQueue().</p>
  
  <p>How can I loop this queue one by one when there are items in the Queue?</p>