C# - Field values of an array picking up values of a loop : <p>I'm training C# on a simple card game. I have methods that shuffle and deals the cards. I have a random deck that is well generated.
Is it possible to set an array for the player1 cards, picking up the first ten values of the array.
Here is a part of my code : </p>

<pre><code>currentCard = 0;
    public Card DealCard()
    {
        if (currentCard &lt; deck.Length)
            return deck[currentCard++];
        else
            return null;
    }
</code></pre>

<p>I want to pick up for example ten first values of </p>

<pre><code>deck[currentCard++]
</code></pre>

<p>Any suggestions will be appreciated, thanks for your help !</p>
