title: How to import CSV file with white-space in header with ServiceStack.Text
body: <p>I am using ServiceStack.Text library for reading from CSV files in C#. </p>
  
  <p>I would like to know how to deserialize CSV to objects where CSV contains white space separated header ? </p>
  
  <p>I am using this code to deserialize CSV to <strong>empClass</strong> object:</p>
  
  <pre><code>  List&lt;empClass&gt; objList = File.ReadAllText(filePath).FromCsv&lt;List&lt;empClass&gt;&gt;();
  </code></pre>
  
  <p>If I have a csv file like this</p>
  
  <pre><code>EmpId,Employee Name,Employee Address 
  12,JohnSmith,123 ABC Street
  </code></pre>
  
  <p>and my class is like </p>
  
  <pre><code>public class empClass{
  public string EmpId;
  public string Employee_Name;
  public string Employee_Address;
  }
  </code></pre>
  
  <p>It populates <strong>EmpId</strong> but it doesn't populate <strong>Employee Name</strong> and <strong>Employee Address</strong> as it contains the white-space in the header.</p>
  
  <p>Will be grateful if anyone can help. </p>