I know this is a pretty simple question, but I just can't find a suitable example on Google or anywhere.
I have this part
int numberOfPlays = int.Parse(textBox2.Text);
numberOfPlays = (numberOfPlays++);
textBox2.Text = (numberOfPlays.ToString());
MessageBox.Show(numberOfPlays.ToString());
So basically, what I want to do is get the value of textBox2, make it an integer, and then add 1 to it.
Now I can not come up with any details, so if I'm not clear enough, ask
Thanks in advance
source
share