random number generation code example
Example 1: random number generator
Random RNG = new Random();
int randomNumber = RNG.Next(x, y) //x is the minimum number, and y is the maximum number
Example 2: rng
Random rng = new Random()
rng.Next(min,max)
Example 3: random number generator
Random RNG = new Random();
int randomNumber = RND.Next(x, y)