Arrays in visual basic


.csv files are comma-delimited text files

See here for reading from a .csv file


See here for how to write if...then...else functions


See here for how to write to text files.

(.csv is a text file)