Hi !
i have problem with console app
how to determine witch key was pressed and do some action for it ex:

1. start the app
2. waiting for user action
3. pressing a key ( ex F3 )
4. app make an action
5. waiting for user action
[...]


can someone help me ? from 2 days i can't find anything about this ...

thx for replies !

p.s. i don't mean something like this:
VB Code:
  1. asciiCode = CInt(Console.Read())  ' Returns the ascii code of the entered character
  2.  
  3.             ' 13 is the code for enter
  4.             If asciiCode = 13 Then
  5.                 Exit Do
  6.             End If
but something with KeyDown ( if it's possible )