This question already has an answer here:
- Randomize a List<T> 16 answers
I'm doing a Poker Game but I've a problem with the random distribution of cards how can i get always a different number from a
for(int i = 0; i <= 4; i++)
{
A = R.Next(1, 53);
// Other code
}
Aucun commentaire:
Enregistrer un commentaire