0
Well, my doubt is this, in C# I can use my "constants" be it of any type in my output command, everything normal.
However, if I use a "variable" of the type int
or double
and put them in the input command of a Syntax error :
" Convert type ' string ' to ' int ' " or " Convert type ' string ' to ' int ' " .
In error message speaks to me convert, I have to always convert, why when I use string does not appear to convert too?
Anyway , I can talk nonsense but I am very beginner in programming and I would like to clarify this doubt.
Welcome to SO-PT, don’t forget to do the [tour] and understand how the site works. Ideal is that you do not use images but put your code as text, the editor has tools for this, See Help Center How to Ask.
– Barbetta