title: Creating Excel worksheets using Parallel.For and EPPlus
body: <p>I am using the <a href="http://epplus.codeplex.com/" rel="nofollow">EPPlus</a> library to create an Excel workbook with many worksheets.  I was wondering if it is safe to build the worksheets in parallel.  I could not find a mention in the (limited) documentation if the library supports this kind of behavior:</p>
  
  <pre><code>package = new ExcelPackage();
  int start = 1;
  int end = 100;
  
  Parallel.For(start, end; s =&gt;
  {
      var worksheet = package.Workbook.Worksheets.Add("Worksheet" + s.ToString());
      //routine to populate data here
  });
  </code></pre>