public static DataTable ReadDataTableFromFile(string file) { using (var reader = new StreamReader(file)) return(CsvParser.CreateDataTable(reader)); }
public static DataTable ReadDataTableFromString(string csv) { using (var reader = new StringReader(csv)) return(CsvParser.CreateDataTable(reader)); }