title: Randomize button that will show up
body: <p>I'm beginner in C# programming,
  I'm trying to random button that will shown up when I press a button.
  (I'm making a whack a mole games but using button as the mole and I want to random up to 2 button that will shown up)</p>
  
  <pre><code>private void Whack_A_Mole_Load(object sender, EventArgs e)
  {
      button1.Visible = false;
      button2.Visible = false;
      button3.Visible = false;
      button4.Visible = false;
      button5.Visible = false;
      button6.Visible = false;
      button7.Visible = false;
      button8.Visible = false;
      button9.Visible = false;
  }
  
  private void button10_Click(object sender, EventArgs e)
  {
      timer1.Enabled = true;
      timer2.Enabled = false;
      button10.Enabled = false;
      btnStop.Enabled = true;
      button1.Image =(Properties.Resources.Mole);
      Random random = new Random();
      var randombutton = random.Next(1, 2);
  }
  </code></pre>
  
  <p>This is what I do</p>