writing a csv file using KBcsv writer
<p>I am trying to write into csv file using Kent.Boogaart.KBCsv, cant figure out what could be the problem?</p>

<p>Piece of code:</p>

<pre><code>private static void SaveCSV(List&lt;AData&gt; items,string fName)
{
   using (CsvWriter wr = new CsvWriter(fName))
    {
        wr.ValueSeparator = ';';
        foreach (AData item in items)
        {
            wr.WriteDataRecord(item);
        }
    }
}
</code></pre>

<p>Exception:
The process cannot access the file 'C:\Users\myname\Documents\something.txt' because it is being used by another process.</p>
