Example 2: In a game, the player may want to cancel an action, such as reloading a weapon. The Cancel interface can be used to allow the player to cancel the reloading operation.csharp public interface IWeapon { void Reload(); void CancelReload(); } public class Shotgun : IWeapon { public void Reload() { // Reload logic } public void CancelReload() { // Cancel reload logic } } ``` The IAction Cancel interface is a part of the .NET Framework in the System.Windows.Forms namespace.