Dominion.ListOfCards.Swap C# (CSharp) Метод

Swap() защищенный Метод

protected Swap ( int indexfirst, int indexSecond ) : void
indexfirst int
indexSecond int
Результат void
        protected void Swap(int indexfirst, int indexSecond)
        {
            Card temp = this.cards[indexfirst];
            this.cards[indexfirst] = this.cards[indexSecond];
            this.cards[indexSecond] = temp;
        }