How to read csv using LINQ ,some columns contain , -
i have csv in below way. "india,inc" company name single value contains , in it
how values in linq
12321,32432,423423,kevin o'brien,"india,inc",234235,23523452,235235
becuase you're reading values delminated bycommas, spaces shouldn't cause issue if treat them other character.
var values = file.readlines(path) selectmany(line => line.split(','));
Comments
Post a Comment