I\'m new with C#, I have some basic knowledge in Java but I can\'t get this code to run properly.
It\'s just a basic calculator, but when I run the program VS2008 gi
If you are not validating explicitly for numbers in the text field, in any case its better to use
int result=0; if(int.TryParse(textBox1.Text,out result))
Now if the result is success then you can proceed with your calculations.