+ 2
What does the error message mean ? (In c#)
So, I am new in c# and learned it yesterday. And I now learned how to make calculator in c# and found message below and when I give no input, it gives the error message = "Unhandled Exception ..." Can anybody please explain to me what's happening? And what is the solution for the problem https://code.sololearn.com/cq9R6JhJPTl9/?ref=app
3 Answers
+ 2
Your program requires 3 inputs to work, 2 numbers and 1 operator. The error you saw happened because (as you wrote) "when I give no input", so when the program tries to convert string input to number, it failed, because there is nothing to convert.
+ 2
Ipang , thank you very much. Your explanation really has helped clear my confusionđ. Good dayđźđ©đŻđ”
+ 1
Very welcome my friend đ