title: Task.Factory.StartNew not doing anything
body: <p>I am trying to start a new task using <code>Task.Factory</code>, but it does nothing, as in it just moves to the next line of code and doesn't execute any task. Here is the code:</p>
  
  <pre><code>for(int i = 0; i &lt; alts.Length; i++) {
      String password = alts [i].Substring (alts[i].IndexOf(":")+1);
      String username = alts [i].Substring (0,alts[i].IndexOf(":"));
  
      Console.WriteLine ("Loaded account: "+ username);
      Task.Factory.StartNew(() =&gt; connectUser(username, password, server));
  }
  </code></pre>