C# arrow key input for a console app
A bit late now, but here’s how to access keyboard state in a console application. Note that it’s not all managed code as it requires GetKeyState to be imported from User32.dll. /// <summary> /// Codes representing keyboard keys. /// </summary> /// <remarks> /// Key code documentation: /// http://msdn.microsoft.com/en-us/library/dd375731%28v=VS.85%29.aspx /// </remarks> internal enum KeyCode : int … Read more