title: How to remove items from a generic list after N minutes?
body: <p>I have a list as below:</p>
  
  <pre><code>private List&lt;DateTime&gt; _result = new List&lt;DateTime();
  </code></pre>
  
  <p>and I add values to it like</p>
  
  <pre><code>_result.Add(DateTime.Now);
  </code></pre>
  
  <p>The requirement is that each item which is added should be removed from the list within 5 minutes deadline.</p>
  
  <p>I was thinking I could create a Timer which checks my list every e.g. 1 minute and find old items and remove them but I hoped there could be an easier way?</p>
  
  <p>How to implement it?</p>
  
  <p>Thanks</p>