public void Collection() // Option 1 { // Call WineItems class WineItem[] wineItems = new WineItem[3964]; // Call CSVProcessor class CSVProcessor wineList = new CSVProcessor(); // Load CSV file into an array with the fields from WineItem class wineList.AccessCSVFile("../data/WineList.csv", wineItems); int index = 0; // Foreach loop fills collection array foreach (WineItem item in wineItems) { if (item != null) { collection[index] = item.ToString(); } index++; } }