removing items from a list based on two properties
<p>I have the a list called <code>orderList</code> of type <code>Order</code> which has two properties. The list looks something like below.</p>

<pre><code> Id      Status
 123     Good
 878     Good
 432     Good
 123     Void
</code></pre>

<p>What I would like to do is to remove any orders that have a Status which is void and any Good orders which have the same Id as a void order. So the result would give me,</p>

<pre><code> Id      Status
 878     Good
 432     Good
</code></pre>

<p>What is the best way to do this? Is it just getting a list of void orders using linq and then looping through this new list to remove Good orders which share the same Id? </p>