1

I intend to create a program working with CSV files (read and write).

I can easily make my own methods to work with that: collect values, read/write commas, load and save a file. But, is there a ready-to-use tool in .NET to avoid spending my time?

Daniel Möller
  • 84,878
  • 18
  • 192
  • 214
  • 1
    I've used this in past, http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader works good – Luke Hutton Jul 29 '13 at 21:36
  • Yes. [Microsoft.VisualBasic.FileIO.TextFieldParser](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx) – Jim Mischel Jul 29 '13 at 21:48

1 Answers1

0

You can make use of String.Join() for creating CSV based String and use String.Split() for creating an array out of CSV data.

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
MarioF
  • 1
  • 1
  • 1
    This doesn't help much. It will appear to work at worst, then silently fail when your data contains commas or quotes. – Gabe Feb 28 '14 at 05:09