Click or drag to resize
ConsoleCancelKeyPress Event
Occurs when the Control modifier key (CTRL) and C console key (C) are pressed simultaneously (CTRL+C).

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static event ConsoleCancelEventHandler CancelKeyPress

Value

Type: SystemConsoleCancelEventHandler
See Also