CsvHelper icon indicating copy to clipboard operation
CsvHelper copied to clipboard

Mapping by Index documention code example leftout CsvConfiguration

Open Owenll66 opened this issue 3 years ago • 0 comments

In the doc Mapping by Index

The CsvConfiguration was created but left out when creating CsvReader

Here is the code in the given example:

using (var csv = new CsvReader(reader, ))
{
    csv.Context.RegisterClassMap<FooMap>();
    var records = csv.GetRecords<Foo>();
}

Owenll66 avatar Aug 08 '22 06:08 Owenll66