Index(int, int) Method
When reading, is used to get the field at the given index. When writing, the fields will be written in the order of the field indexes.
Namespace
CsvHelper.Configuration
Containing Type
MemberMap

Syntax

public virtual MemberMap Index(int index, int indexEnd = -1)

Parameters

Name Type Description
index int The index of the CSV field.
indexEnd int The end index used when mapping to an IEnumerable member.

Return Value

Type Description
MemberMap