How can I convert multiple numbers in a textbox to int, in C#?
<p>For a programming assignment, I have to make a simple dice game in Visual C#. A part of this game is displaying a list of the values, and seeing whether the total of the values is over a certain number.
I currently have a textbox that displays the individual values separated by a newline, and am currently using <code>iPlayer1Total += int.Parse(player1TxtBox.Text);</code>, but this only seems to do the first line of the textbox.</p>
