I'm currently generating a random number and placing it in a label, but when I press the next button I would like the program to generate a new random number. The method I'm currently using to create the generate is:
//Random number generating method
public double RandomNumber()
{
//declares random number generator
Random generator = new Random();
//returns a random number between 10 and 30
return generator.Next(3, 15);
}
Any help would be awesome as I'm almost at the point of hitting myself with the keyboard... :twisted: