Multiple choice .net

The KeyPress event will capture pressing the key:

  1. A.

  2. shift.

  3. control.

  4. Both a and b.

  5. All of the above.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The KeyPress event fires when a character key (like 'A') is pressed. Modifier keys like Shift, Control, and Alt trigger KeyDown/KeyUp events but not KeyPress because they don't produce character input. KeyPress specifically captures printable characters.