how to generate real random numbers code example Example: rng Random rng = new Random() rng.Next(min,max)