protected Swap ( int indexfirst, int indexSecond ) : void | ||
indexfirst | int | |
indexSecond | int | |
Résultat | void |
protected void Swap(int indexfirst, int indexSecond)
{
Card temp = this.cards[indexfirst];
this.cards[indexfirst] = this.cards[indexSecond];
this.cards[indexSecond] = temp;
}