title: Why my task work only once?
body: <p>I want to print every 2 sec number but and in the end i get only 0 what i need to do to get this every 2 sec?</p>
  
  <p>result:</p>
  
  <pre><code>    0
      1
      .
      .
      49
  </code></pre>
  
  <hr>
  
  <pre><code>  private static void Main(string[] args) {
      Send();
    }
  
    public static async Task Send() {
      for (int i = 0; i &lt; 50; i++) {
          Console.WriteLine(i);
          await Task.Delay(2000);
      }
    }
  </code></pre>