SHARE
TWEET

Untitled

a guest Jun 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using (var writer = new CsvWriter(new StreamWriter(exportCsv, append)))
  2. {
  3.     writer.Configuration.HasHeaderRecord = !append;
  4.     writer.Configuration.RegisterClassMap<GeoVulcanCollarCsvMap>();
  5.     writer.Configuration.TypeConverterOptionsCache.GetOptions<double?>().Formats = new[] { "0.######################" };
  6.     writer.WriteRecords(list);
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top