I have two arrays built while parsing a text file. The first contains the column names, the second contains the values from the current row. I need to iterate over both list
Instead of creating two seperate arrays you could make a two-dimensional array, or a dictionary (which would be better). But really, if it works I wouldn't try to change it.