{
imgPile1[i] = cardImages[myDeck.randomCardHand[c]];
c++;
imgPile2[i] = cardImages[myDeck.randomCardHand[c]];
c++;
imgPile3[i] = cardImages[myDeck.randomCardHand[c]];
c++;
}
}
The myDeck.randomCardHand[whatever] is a int List -- when I make a seperate statement in my program such as :
imgPile1[2] = cardImages[myDeck.randomCardHand[2]];
image4.Image = imgPile1[2];
That statement works fine - fills the array in and assigns it to the pic box just fine -- but for some reason the iteration WILL not assign the variables to the array and I do not understand why not?
Any help on what I am missing?