In C#, what methods take the place of the old kbhit and getch functions in C? (I'm writing a console application in Visual Studio.)

Recommended Answers

An actual GUI.

Jump to Post

All 3 Replies

An actual GUI.

>>An actual GUI.??
You have :
Console.Read();
Console.ReadLine();
Console.ReadKey();

to choose from.
Look up their use in help or MSDN

while (Console.KeyAvailable == false) ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.