CSV
Read
//Get a memory stream to the file
using MemoryStream ms = new MemoryStream(File.ReadAllBytes("Products.csv"));
//Read the CSV as a list of T classes
List<Product> products = CSVReader.ReadAs<Product>(ms);
//Read the csv as a DataTable
DataTable ProductTable = CSVReader.ToDataTable(ms, out var res);Write
Clean
Sample Data
Last updated

