Reading CSV with CsvHelper

The CsvHelper library makes it easy to read and write CSV in .NET. Exploring the examples shows you how to map a reader to a data class, through attributes or a class map, and gives you various options on transforming the data.

Here's an example showing how to use it to read a CSV file.

View code on GitHub

Comments

Popular posts from this blog

C# Record Serialization

Versioned content in MVC

Add timestamp to photo using ImageMagick