then opt.IgnoreColumn("DateTime"); is useless since headers are not present in CSV.
I suggest to create a new option IgnoreColumnByIndex(2), while precising if it's 0 or 1-based index in the documentation.
Using opt.IgnoreColumnByIndex(0) should not be allowed if opt.ColumnOrder is set to AssertCsvOrder.Ignore.
When I use:
then
opt.IgnoreColumn("DateTime");
is useless since headers are not present in CSV.I suggest to create a new option
IgnoreColumnByIndex(2)
, while precising if it's 0 or 1-based index in the documentation. Usingopt.IgnoreColumnByIndex(0)
should not be allowed ifopt.ColumnOrder
is set toAssertCsvOrder.Ignore
.