Microsoft
98-372 · Question #218
You need to ensure that your console application can process each key as it is pressed. Which method should you use?
The correct answer is B. Console.ReadLine. See the full explanation below for the reasoning.
Question
You need to ensure that your console application can process each key as it is pressed. Which method should you use?
Options
- AConsole.OpenStandardlnput
- BConsole.ReadLine
- CConsole.Read
- DConsole.ReadKey
How the community answered
(47 responses)- A9% (4)
- B70% (33)
- C17% (8)
- D4% (2)
Community Discussion
No community discussion yet for this question.