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


Popular posts from this blog

DotNet CLI

Switch Expressions

Nullable reference types