Clearing a list using a for loop
<p>I'm making a Black Jack game, and at the start of every new round I need to clear the list of cards that represents the Player's and the Dealer's hands. I used this to do so:</p>

<pre><code>public void ClearPlayerHand()
        {
            for (int i = 0; i &lt; PlayerHand.Count; ++i) 
            {
                PlayerHand.Remove(PlayerHand[i]);
            }
        }
</code></pre>

<p>Problem is I always seem to be left with one card left in the list, or I receive an out of bounds error, no matter how I change the value of i, what is the best method of removing all the elements from the PlayerHand?</p>
