public void Run()
 {
     Pub_1_84 p = new Pub_1_84();
     p.OnChange += (sender, e)
     => Console.WriteLine("Event raised: {0}", e.Value);
     p.Raise();
 }
Example #2
0
        public void Run()
        {
            Pub_1_84 p = new Pub_1_84();

            p.OnChange += (sender, e)
                          => Console.WriteLine("Event raised: {0}", e.Value);
            p.Raise();
        }