I have an event handling a keypress (KeyDown) that has KeyEventArgs argument. This class has a few relevant members:
- KeyCode
- KeyData
- KeyValue
My problem is: Whenever I press BackSlash, I'd like to get a String with the single character "\".
Whenever I call ToString() on any of the above characters, it just returns Oem5.
I know I could just throw it in a giant if clause, but I'd like to avoid that if I can.
Thanks!