static void Main(string[] args)
        {
            videoRecorder vR = new videoRecorder();
            outbox        ob = new outbox();

            vR.fireMessage += ob.emailMessage;
            vR.fireMessage += ob.SMSMessage;
            Console.WriteLine("Full set of messenger services.");
            vR.videoRecord();

            vR.removeEmailHandler(ob);
            Console.WriteLine("Removed email messenger services.");
            vR.videoRecord();

            vR.addEmailHandler(ob);
            Console.WriteLine("Removed email messenger services.");
            vR.videoRecord();
            Console.ReadLine();
        }
 public void removeEmailHandler(outbox ob)
 {
     this.fireMessage -= ob.emailMessage;
 }
 public void addEmailHandler(outbox ob)
 {
     this.fireMessage += ob.emailMessage;
 }