I have created a string array named 'coin' and I am trying to output the content of the string array to a item box along with another integer variable, and I keep getting the list box saying String[] Array.
To create the array, I have used the following:
string[] coins = new string[4];
Then on the click of the enter button, a new item will be added to the array, along with the count variable which increments on the click of the button, then it outputs the contents of the coin array to the list box:
coins[valuesEntered] = "coin" + valuesEntered.ToString();
valuesEntered++;
listBox1.Items.Add(coins);
However, this seems not to work and instead just outputs String[] Array to the group box each time the enter button is clicked. I cant seem to get past this brick wall at the moment.