public static async Task <byte[]> ToCSV(this MyDataTable dtable, IDictionary <string, string> headerItems = null, bool replaceNullsWithDefaultValue = false, string delimiter = ",") { return(await CsvWriter.CreateCSVfile(dtable, headerItems, replaceNullsWithDefaultValue, delimiter)); }