public void test()
        {
            Publisher pub = new Publisher();
            Subscriber sub1 = new Subscriber( "sub1", pub );
            Subscriber sub2 = new Subscriber( "sub2", pub );

            pub.DoSomething();
        }
 public Subscriber( string ID, Publisher pub )
 {
     id = ID;
     pub.RaiseCustomEvent += HandleCustomEvent;
 }