I've got ~500 csv files, without headers, and a legacy BASIC program where the data is imported and saved as variables:
OPEN "filename" FOR INPUT AS #1
INPUT #1, var1, var2, var3$, var4, etc
Most of the files have > 60 fields, and therefore I do not think the answer given here is applicable.
I've so far been unable to find a way to do this in C#.
The new program is a Windows Forms application, and I'm going to have classes for certain objects, and the data in the csv's relate to properties of the objects. I'm going to initialize the object using either a string depicting the file to open, or a dataset
if that is the correct way to go about doing this.
Does anyone know of a way to do this in C#, either using 3rd party libraries or not?