Interface ICsvRecord<T>
Interface representing the fields of a CSV record.
public interface ICsvRecord<T> where T : unmanaged, IBinaryInteger<T>Type Parameters
- T
Properties
FieldCount
Gets the number of fields in the record.
int FieldCount { get; }Property Value
this[int]
Returns the field at index.
ReadOnlySpan<T> this[int index] { get; }Parameters
- indexint
- Zero-based index of the field to get. 
Property Value
- ReadOnlySpan<T>
Remarks
The span is only guaranteed to be valid until another field or the next record is read.
Exceptions
- IndexOutOfRangeException
- Thrown if - indexis less than 0 or greater than or equal to FieldCount