static void Main() { ClassThatRaisesEvent eventRaiser = new ClassThatRaisesEvent(); ClassThatHandlesEvent eventHandler = new ClassThatHandlesEvent(eventRaiser); eventRaiser.SimulateEvent(); }
static void Main() { ClassThatRaisesEvent eventRaiser = new ClassThatRaisesEvent(); ClassThatHandlesEvent eventHandler = new ClassThatHandlesEvent(eventRaiser); eventRaiser.SimulateEvent(); }