static void Main(string[] args)
        {
            Publisher pub = new Publisher();

              Subsciber sub1 = new Subsciber("sub1", pub);
              Subsciber sub2 = new Subsciber("sub2", pub);

              pub.OnEventName();

              Console.ReadLine(); // wait for <ENTER> to close console
        }
 public Subsciber(string Id, Publisher publisher)
 {
     id = Id;
       publisher.EventName += EventHandlerMethod;
 }