title: Reading csv having double quotes with lumenwork csv reader
body: <p>I'm reading a csv file using the Lumenworks csv reader. Below is an example record</p>
  
  <pre><code>"001-0000265-003"|"Some detail"|"detal1"|"detail2"|"detal3"|"detail4"|"detail5"|"detail6"
  </code></pre>
  
  <p>I've created a class with below constructor to read this file</p>
  
  <pre><code>using (var input = new CsvReader(stream, true, '|'))
  {
  //logic to create an xml here
  }
  </code></pre>
  
  <p>This works fine when there is no double quotes inside details. But when the scinarios like this </p>
  
  <pre><code>"001-0000265-003"|"Some " detail"|"detal1"|"detail2"|"detal3"|"detail4"|"detail5"|"detail6"
  </code></pre>
  
  <p>the reader throws an exception</p>
  
  <pre><code>An unhandled exception of type 'LumenWorks.Framework.IO.Csv.MalformedCsvException' occurred in LumenWorks.Framework.IO.dll
  </code></pre>
  
  <p>So then I used the CsvReader constructor which takes 7 arguments,</p>
  
  <pre><code>CsvReader(stream, true, '|', '"', '"', '#', LumenWorks.Framework.IO.Csv.ValueTrimmingOptions.All))
  </code></pre>
  
  <p>But still I'm getting the same error. Please provide any suggestions.</p>
  
  <p>I'm reading some complex filed as follows,</p>
  
  <pre><code>"001-0000265-003"|"ABC 33"X23" CDE 32'X33" AAA, BB'C"|"detal1"|"detail2"|"detal3"|"detail4"|"detail5"|"detail6"
  </code></pre>