title: Variables inside a Parallel.For
body: <p>So I have 3 nested for loops with the inner two doing little work. I want to convert the outer-most loop into a parallel one. </p>
  
  <p>My question is:</p>
  
  <p>If I have a variable inside the loop, something that is used as a temp value holder and takes a new value each loop. Do I need to worry about that variable when the parallelism begins ? </p>
  
  <p>I mean are all the threads gonna be over-writing the same variable ?  </p>
  
  <pre><code> for (int i = 0; i &lt; persons.number; i++) //Loop all the people
      var Dates = persons[i].Appointments.bydate(DateStep);
  </code></pre>
  
  <p>Do I need to worry about the Dates variable in the parallel loop ?   </p>
  
  <p>Sorry for the bad formatting of my question but it's only my second question and I'm getting there.</p>