I want to get from a String an Int.
I've tried something like this:
but it doesn't work. I'm new with C# so don't give up on meCode:String s=textBox1.Text; int i = Integer.parseInt(s); i++;
thank you!
I want to get from a String an Int.
I've tried something like this:
but it doesn't work. I'm new with C# so don't give up on meCode:String s=textBox1.Text; int i = Integer.parseInt(s); i++;
thank you!
Code:int i = Convert.ToInt32(s);
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.