Skip to content

Commit

Permalink
docs: fix typo in code of Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddryck authored Jan 5, 2025
1 parent a85d22d commit 9504275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ using var reader = csvReader.ToDataReader(stream);
while (reader.Read())
{
Console.WriteLine(reader[0]); // Access the first column of the current row.
Console.WriteLine(reader.GetDateTime[1]); // Access the second column of the current row as an object boxing a DateTime.
Console.WriteLine(reader.GetFieldValue<DateOnly>[2]); // Access the third column of the current row as DateOnly.
Console.WriteLine(reader.GetDateTime(1)); // Access the second column of the current row as an object boxing a DateTime.
Console.WriteLine(reader.GetFieldValue<DateOnly>(2); // Access the third column of the current row as DateOnly.
}
```

Expand Down

0 comments on commit 9504275

Please sign in to comment.