|
I'm trying to read a CSV file from the web where one of the headers contains a space like: "abc efg". I call csvReader.GetDynamicRecords() and the reading proccedes just fine, but I can't access the field named "abc efg" i C# as |
Answered by
shibayan
Dec 19, 2020
Replies: 1 comment 2 replies
|
|
2 replies
Answer selected by
mortensp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GetDynamicRecordsreturns a dynamic type, but the class implementsIDictionary<string, object>, so it is an indexer if you cast it.