+ 2

Card shuffling in c#

How can i do shuffle with the card game? I have 52 cards

5th Mar 2018, 10:30 AM
Abd Allah Abd Alkader
Abd Allah Abd Alkader - avatar
2 Answers
+ 16
@Faryaad , there is very high possibility that same number will come again which that will result in cards getting repeated get idea from my program , 20 cards taken out randomly without repeating https://code.sololearn.com/cLjUoS6I0JR9/?ref=app
5th Mar 2018, 11:08 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
its possible to use a random number generator and loop through your array changing the position of values (or objects or card's)
5th Mar 2018, 11:02 AM
Farshaad Heydari
Farshaad Heydari - avatar