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 .Attributes - Containing Type
- IndexAttribute
Syntax
public IndexAttribute(int index, int indexEnd = -1)
Parameters
Name | Type | Description |
---|---|---|
index | int | The index. |
indexEnd | int | The index end. |