New course! Every coder should learn Generative AI!
Try a free lesson0
typeConversion
and this example: "int age = int.Parse(Console.ReadLine());"?
1 Answer
+ 2
ReadLine() returns a String.
int.Parse() converts its type to int.
and this example: "int age = int.Parse(Console.ReadLine());"?