This is a part of UpdateGUI():
DisplayOptions choice = (DisplayOptions)comboBox1.SelectedIndex;
seatMngr.GetSeatInfoStrings(choice, out strSeatInfoStrings);
listBox1.Items.Clear();
listBox1.Items.AddRange(strSeatInfoStrings);
The compiler is complaining about this row (And the parameter of the last row):
seatMngr.GetSeatInfoStrings(choice, out strSeatInfoStrings);
What I'm trying to do is to take an array (strSeatInfoStrings) and put it inside a listbox.
Any ideas?
outinstead of just returning the array from the method?