//Get a particular field from the record by its zero-indexed position public string GetFieldByPosition(int position) { if (position < 0 || position >= HeaderRecord.Count()) { throw new ArgumentOutOfRangeException(position.ToString(CultureInfo.InvariantCulture), "Position is out of range."); } return(CurrentRecord.ElementAt(position)); }