0

typeConversion

and this example: "int age = int.Parse(Console.ReadLine());"?

23rd Aug 2020, 5:43 AM
Braian Sanchez
Braian Sanchez - avatar
1 Antwort
+ 2
ReadLine() returns a String. int.Parse() converts its type to int.
23rd Aug 2020, 6:00 AM
Gordon
Gordon - avatar