Hi everyone, New learner here and first post.
I’m starting the C# course and ran into something that confused me.
I understand you can’t convert ‘string’ into ‘int’ implicitly, but doesn’t the cast operator
(int) means it’s an explicit conversion?
While i know it’s wrong this is the code it asks you for you to try out.
int faveNumber = (int)Console.ReadLine();
Is it a typo in the explanation on the screenshot or what? And thanks in advance!