title: How do I loop through a method x amount of times?
body: <p>I have this project with a method like so.</p>
  
  <pre><code>private void LoopThis()
  {
    MessageBox.Show("Hello World!");
  }
  </code></pre>
  
  <p>And I have this button that invokes the method, and a textbox where I enter a int let's say i enter 10.</p>
  
  <p>Ten I want that method to execute 10 times.</p>
  
  <p>What kind of loop do I use to do this?</p>