title: Does not having a reference to a Task cause memory leaks?
body: <p>Consider the following code snippet:</p>
  
  <pre><code>public void Do()
  {
     ....
     Task.Delay(5000).ContinueWith(t =&gt; DoSomething());
     ....
  }
  </code></pre>
  
  <p>Assume that the <code>Do</code> method finishes execution before the <code>Delay</code> task is finished and that <code>DoSomething</code> is not cancelable.</p>
  
  <p>Does the fact that no reference is being maintained to the <code>Task</code> returned by <code>ContinueWith</code> method cause some kind of memory leak? </p>