What is the use of it
Hi Shuklahari,
input
is of type string
, level
is of type int
. You cannot assign an string value to an integer variable. For this reason, you must convert the string
to an integer if possible. The int.Parse
method tries to convert the value of the input
variable.
Did this clear it up for you?
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.