Dim inputChar As ConsoleKeyInfo = Console.ReadKey()
Console.ReadKey()
awaits input from the user and, upon receipt, returns an object of class ConsoleKeyInfo
, which holds information relevant to the character which the user provided as input. For detail regarding the information provided, visit the MSDN documentation.