...character that was pressed during the last keystroke:
```
Dim ch As Char
ch = Keys.KeyChar()
Console.WriteLine("The character that was pressed is: {0}", ch)
```
**Example Output**
```
The character that was pressed is: a
```
**Hashtags**
* #vb.net
* #Keychar
* #Function
* #Keyboard
*...