title: How to delay a certain task in c# .NET core 3.1
body: <p>NOTE: I am a noob at coding.</p>
  <p>I am trying to make a certain task in my application run after a certain amount of time one (for example) I want <code>Console.WriteLine(&quot;Hello delay&quot;);</code> to run 180 seconds after <code>Console.WriteLine(&quot;Hello World!&quot;);</code> is run, how would I do that?</p>
  <p>I have not tried anything else yet.</p>
  <pre><code>using System;
  
  namespace ConsoleApp1
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(&quot;Hello World!&quot;);
  
              // I want (Console.WriteLine(&quot;Hello delay&quot;);) to run 
              // 180 seconds after (Console.WriteLine(&quot;Hello World!&quot;);) is run
              Console.WriteLine(&quot;Hello delay&quot;);
          }
      }
  }
  </code></pre>