Reading CSV file and storing values into an array

I am trying to read a *.csv-file.

The *.csv-file consist of two columns separated by semicolon (“;“).

I am able to read the *.csv-file using StreamReader and able to separate each line by using the Split() function. I want to store each column into a separate array and then display it.

Is it possible to do that?

Leave a Comment