I've added an array that's split to show name and a number and I've outputted those in their own respective individual areas but I want to output every entry in the array to 1 list that shows the inputted names and name (they're entered at the same time)
Most of the questions I've found on here are dealing with outputting the array into Console but I'm using a Windows Form Application so can I output them to a multi-line textbox?
public void AddPlayer(string input)
{
string[] addingPlayer = input.Split();
playerNames[value] = addingPlayer[0];
playerScores[value] = int.Parse(addingPlayer[1]);
value++;
}
public void AddPlayer(string input) { string[] addingPlayer = input.Split(); playerNames[value] = addingPlayer[0]; playerScores[value] = int.Parse(addingPlayer[1]); value++; }Playerclass withNameandScoreproperties.