title: How do I remove the quotation marks from a .csv file?
body: <p>I read in a .csv file.</p>
  <p>The contents of which looks like this:</p>
  <blockquote>
  <p>1;&quot;final60&quot;;&quot;United Kingdom&quot;;&quot;2013-12-06 15:48:16&quot;;</p>
  <p>2;&quot;donnyr8&quot;;&quot;Netherlands&quot;;&quot;2013-12-06 15:54:32&quot;; etc</p>
  </blockquote>
  <p>At the moment I am just trying to remove the quotation marks from each line using the <code>Replace</code> method. This is what I have attempted which doesn't appear to do anything. Although doesn't seem to break the program in anyway.</p>
  <pre><code>try
  {
      string item2;
      List&lt;string&gt; list = File.ReadLines(&quot;file.csv&quot;).ToList();
      foreach (string listLine in list)
      {
           Console.Write(&quot;#  &quot;);
           // seperate up this line into a new list by ; 
           List&lt;string&gt; listItems = listLine.Split(';').ToList();
           foreach(String item in listItems)
           {
                if (item == &quot;&amp;quot;&quot;)
                {
                      item2 = item.Replace(&quot;&amp;quot;&quot;, &quot;&quot;);
                }
                else
                {
                      item2 = item;
                }
                Console.Write(item2);
           }
           Console.WriteLine(&quot;\n&quot;);
      }
  }
  catch (Exception e)
  {
      // Let the user know what went wrong.
      Console.WriteLine(&quot;The file could not be read:&quot;);
      Console.WriteLine(e.Message);
  }
  </code></pre>
  <p>How can I remove the quotation marks in each line?</p>