title: Passing arguments with changing values to Task -- Behaviour?
body: <p>Scenario: An asynchronous task in a loop executes a method containing arguments that change as the program continues:</p>
  
  <pre><code>while(this._variable &lt; 100)
  {
      this._variable++; 
      var aTask = Task.Factory.StartNew(() =&gt;
      {
          aList.add(this._variable);
          update(this._savePoint);
      });
  }
  </code></pre>
  
  <p>If the loop runs faster than the tasks complete, will the list add the current value of the variable or is the variable saved locally and the original value added?</p>