I am writing a program to read many lines from a textfile (line by line), each line contains 2 numbers separated by comma ",", first part is latitude and second is longitude. I am taking each line and storing it in a listbox.

I have a listbox in which each item includes two numbers (latitude and longitude) separated by comma "," (ex.: 12,64).
I want to create two array, first array containing latitudes and the second containing longitudes.