Parsing CSV files in C#, with header

后端 未结 17 1690
悲哀的现实
悲哀的现实 2020-11-21 06:57

Is there a default/official/recommended way to parse CSV files in C#? I don\'t want to roll my own parser.

Also, I\'ve seen instances of people using ODBC/OLE DB to

17条回答
  •  闹比i
    闹比i (楼主)
    2020-11-21 07:15

    If you need only reading csv files then I recommend this library: A Fast CSV Reader
    If you also need to generate csv files then use this one: FileHelpers

    Both of them are free and opensource.

提交回复
热议问题