title: Forcing CsvHelper to use a period decimal separator when generating CSV file
body: <p>I have a C# / .Net 4.8 WPF app. I'm using CsvHelper to generate CSV files for various lists. I have the following code:</p>
  
  <pre><code>public void WriteRecord(List&lt;T&gt; data, string filename)
  {
      using (TextWriter writer = new StreamWriter(filename))
      {
          using (CsvWriter csv = new CsvWriter(writer, CultureInfo.InvariantCulture))
          {
              csv.WriteRecords(data);
              writer.Flush();
          }
     }
  }
  </code></pre>
  
  <p>I'm using a T generic because that way I can save any type of list to a CSV file. It's working fine, except for one problem. If the list type has a DateTime field, and the values include milliseconds, it is using a comma decimal separator between the seconds and milliseconds. This is a problem as I am using comma for the field separators. So in other words, if the object being saved has a DateTime field such as <strong>"2020/02/17 11:45:32.153"</strong> it is saving it as <strong>"2020/02/17 11:45:32,153"</strong></p>
  
  <p>Is there a way to force it to use a period decimal separator instead of a comma?</p>