Skip to content

Csv Helper Functions

Csv Helper Functions use CsvHelper to convert objects to csv and export them to a file.

 public async Task ExportCsvAsync<T>(string fileName, IEnumerable<T> records, CancellationToken cancellationToken = default);
public void ExportCsv(string fileName, List<object> records);