title: How to call an async method from another method
body: <p>I am having a difficult time calling an async method from my current method.
  Trying to do something like this:</p>
  
  <pre><code>int i;
  public void Method1() {
      while (statement1) {
          ~code~
          Method2(i);
      }
      while (statement2) {
          ~code~
          Method2(i);
      }
  }
  
  public async void Method2(int i) {
      if(statement){
          ~code~
          await Task.Delay(2000);
      }
      else
      {
          ~code~
          await Task.Delay(2000);
      }
  }
  </code></pre>
  
  <p>So i want basically <code>Method2</code> to be a method for controlling the flow (uses another method which changes pictures in pictureboxes), but I can't get it to work and when it works it never delays anything. Does anyone knows what I am doing wrong?
  <code>Method2</code> changes <code>Method1</code>'s while statements eventually.</p>