in reply to Incrementing string arrays when used with foreach loops
One observation. People often tend to read too much into a problem and make it overly complicated. Sometimes its better to start with the desired result and work backwards.
You have focused far too much on how to build a deck of cards, but in the end all you need is a simple list of 52 items, from which you randomly remove ten items and print them.
|
|---|