From 50c2532e1b465b085b2c0b7a9e0539a7354dfe65 Mon Sep 17 00:00:00 2001 From: swmal <897655+swmal@users.noreply.github.com> Date: Wed, 14 Jun 2023 15:05:20 +0200 Subject: [PATCH] Added a clarifying comment to sample 5 --- 05-ImportAndExportCsvFiles/ImportAndExportCsvFilesSample.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/05-ImportAndExportCsvFiles/ImportAndExportCsvFilesSample.cs b/05-ImportAndExportCsvFiles/ImportAndExportCsvFilesSample.cs index b9f2a87..7dcb0e0 100644 --- a/05-ImportAndExportCsvFiles/ImportAndExportCsvFilesSample.cs +++ b/05-ImportAndExportCsvFiles/ImportAndExportCsvFilesSample.cs @@ -53,6 +53,11 @@ private static async Task ExportTableAsync(ExcelPackage package) { var ws = package.Workbook.Worksheets[1]; var tbl = ws.Tables[0]; + + // Note that we are changing Delimiter to semi-colon in this example. + // This is just to show that you can use any character as delimiter in your exported + // csv-data. The default delimiter is comma (','). + // The Culture property is for how numbers, dates, etc are formatted in the exported csv-data. var format = new ExcelOutputTextFormat { Delimiter = ';',