Convert object array TO or FROM CSV text


/ Published in: C#
Save to your folder(s)

The Export function will convert an array of objects into a single CSV string.
The Import function will read from a TextReader that has CSV data and convert one data row to an array of strings. Each time this is called, it will convert another data row.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.