This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Random rnd = new Random(); | |
int dice = rnd.Next(1, 7); // creates a number between 1 and 6 | |
int card = rnd.Next(52); // creates a number between 0 and 51 |
No comments:
Post a Comment