title: C# Dictionary to .csv
body: <p>I have C# <code>Dictionary</code> and I want create a <code>.csv</code> file from it.
  For example I have this dictionary:</p>
  <pre><code>Dictionary&lt;string, string&gt; data = new Dictionary&lt;string, string&gt;();
  data.Add(&quot;0&quot;, &quot;0.15646E3&quot;);
  data.Add(&quot;1&quot;, &quot;0.45655E2&quot;);
  data.Add(&quot;2&quot;, &quot;0.46466E1&quot;);
  data.Add(&quot;3&quot;, &quot;0.45615E0&quot;);
  </code></pre>
  <p>And I wanna this <code>.csv</code> file output:</p>
  <pre><code>0;0.15646E3;
  1;0.45655E2;
  2;0.46466E1;
  3;0.45615E0;
  </code></pre>
  <p>How can I do this?</p>