Resolved difference between ReadKey and ReadLine?

Zeros

New member
Joined
Feb 12, 2021
Messages
2
Programming Experience
Beginner
I'm a beginner at C#, and I have a basic question. What is the difference between "Console.ReadKey();" and "Console.ReadLine();"??
 
For future reference, you shouldn't be asking us questions that can be answered by simply reading the documentation. We're here to help with the stuff that you have tried to do but been unable to. If you had simply moused over those methods in the code window then the IDE would have provided those descriptions for you and clicking a method and pressing F1 would have taken you directly to the relevant documentation. Do everything you can for yourself first and then, if you're still stuck, you have a question suitable for us.
 
Back
Top Bottom