c# generate random integer within all possible integer values code example
Example: c# random number
int random_number = new Random().Next(1, 10) // Generates a number between 1 to 10
int random_number = new Random().Next(1, 10) // Generates a number between 1 to 10