title: Parse CSV where headers contain spaces with CsvHelper
body: <p>I have a CSV file with field headers and some of them contain two or three words separated by spaces:</p>
  
  <p><img src="https://i.stack.imgur.com/eMY3b.png" alt="Screenshot of the first few rows of a spreadsheet in a spreadsheet application, including headers that contain spaces, as described above."></p>
  
  <p>You can see in the above picture the field headers that contain spaces:<br>
   "Time of Day", "Process Name", and "Image Path".</p>
  
  <p>When I tried to read the CSV by calling <code>reader.GetRecords&lt;DataRecord&gt;();</code> (where <code>DataRecord</code> is a class I have defined), I get the error:</p>
  
  <blockquote>
    <p>Fields 'TimeOfDay' do not exist in the CSV file."*</p>
  </blockquote>
  
  <p>This is because my <code>DataRecord</code> class can't contain members with spaces.</p>
  
  <p>How can I use CsvHelper to parse the CSV file?</p>