I'm making a program for differentiating functions and want to call a specific method as soon as "esc" is pressed.
So far I've tried finding an answer through Google, but I can't seem to find anything that works. Does anyone know if this is possible in a C# console application?