title: stringbuilder or streamwriter overwriting information
body: <p>I'm sending a couple of dictionaries to a streamwriter and a stringbuilder, only one of the dictionary's info is displayed in my output file though. I'm not sure what to do to get everything to output at once, code is below, thanks!</p>
  
  <pre><code>public void RunReport()
  {
      CSVProfileCreate(genderKeys, genderValues);
      CSVProfileCreate(ageKeys, ageValues);
  }
  
  public void CSVProfileCreate&lt;T&gt;(Dictionary&lt;T, string&gt; columns, Dictionary&lt;T, int&gt; data)
  {
      using (StreamWriter write = new StreamWriter("c:/temp/testoutputprofile.csv"))
      {
          StringBuilder output = new StringBuilder();
  
          IEnumerable&lt;string&gt; col = columns.Values.AsEnumerable();
          IEnumerable&lt;int&gt; dat = data.Values.AsEnumerable();
  
          for (int i = 0; i &lt; col.Count(); i++)
          {
              output.Append(col.ElementAt(i));
              output.Append(",");
              output.Append(dat.ElementAt(i));
              output.Append(",");
              output.Append(Environment.NewLine);
          }
  
          write.Write(output);
      }
  }
  </code></pre>