+ 1
Using c# how do you convert a string value to a int value?
Example: fix dis code string num1 = Console.ReadLine( ); Console.WriteLine(num1 + 10);
2 Réponses
+ 3
It is in the c# course, you do it like this: int age = Convert.ToInt32(Console.ReadLine())
+ 2
aah, haven't reached that yet, thanks for the help