I get the error below when I try to run the application I am sure its something simple but I dont see it. What I am trying to do it when I click a button I have labeled Play. I
You need to pass in values:
private void btnPlay_Click(object sender, EventArgs e) { RandomNumber(); }
should be:
private void btnPlay_Click(object sender, EventArgs e) { RandomNumber(0, 50000); }