public static void Main()
 {
     Receiver receiver = new Receiver();
     Command cmd = new ConcreteCommand(receiver);
     Invoker storeUser = new Invoker();
     storeUser.SetCommand(cmd);
     storeUser.ExecuteCommand();
 }
 public ConcreteCommand(Receiver receiver)
     : base(receiver)
 { }
 public Command(Receiver receiver)
 {
     this.receiver = receiver;
 }