Is there a "proper" way to read CSV files

Gareth picture Gareth · Jul 9, 2009 · Viewed 14.5k times · Source

Possible Duplicate:
CSV File Imports in .Net

In .net, is there a standard library that should be used to read in csv files? All the samples on the web roll their own csv reader / parser, or use OleDb.

It's not a problem using any of these solutions, I was just wondering if there is a generally accepted library (not that I can find), or any other "proper" way to do it?

Answer

Marc Gravell picture Marc Gravell · Jul 9, 2009

CsvReader is a pretty good one... it isn't Microsoft, but it works very well, and is a lot faster than some of the alternatives (legacy OleDb etc).