Java analog of iterator to remove objects from collection
<p>In Java I can iterate collection and remove some objects from it using <code>Iterator.remove()</code> method <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Iterator.html#remove" rel="nofollow">http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Iterator.html#remove</a>()</p>

<p>This is very handly and natural. Like you are looking for food in the fridge and throw away food with expired date. How to do the same in c#?</p>

<p>I want to <code>iterate</code> and <code>clean-up</code> collection in the same loop.</p>

<p>There are several related question, for example <a href="http://stackoverflow.com/questions/5561495/how-to-iterate-and-update-a-list">How to iterate and update a list</a> however I still can not find exact duplicate of this operation in c#</p>
