reading csv file c#

前端 未结 4 497

is there any way to read a csv file into a matrix, so every square in the file will be a cell in the matrix?

4条回答
  •  孤城傲影
    2021-01-07 11:20

    There are many ways. Starting with a byte by byte reader. It depends on your csv file format (with/without header, line endings, " or '). I've written my own class.

    A good reader to start with:

    http://www.stellman-greene.com/CSVReader/

提交回复
热议问题