Having trouble adding integers to the item array of a list box. Cannot seem to convert the listbox to integer.
int[] ratingArray = new int[numberRatingsInt];
for (int i = 0; i < numberRatingsInt; i++)
{
ratingArray[i] = Convert.ToInt32(ratingListBox.Items[i]);
}