Skip to content

Instantly share code, notes, and snippets.

@benkoshy
Last active April 9, 2017 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benkoshy/b7fb814e20d9d2f35b985af2a3268fcf to your computer and use it in GitHub Desktop.
Save benkoshy/b7fb814e20d9d2f35b985af2a3268fcf to your computer and use it in GitHub Desktop.
Sender, Receiver, Message
    class Program
    {
        static void Main(string[] args)
        {

            Boss grumpy = new Boss();
            FuriousFreddie f = new FuriousFreddie();
     
            // here grump is the receiver
            // the message is: WhyIsntItDone
            // and the sender is the Program class 
            
            grumpy.WhyIsntItDone(f);         
        }                
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment