Exemple #1
0
 //Listing 84
 public static void CreateAndRaiseTwo()
 {
     Pub p = new Pub();
     p.OnChangeTwo += (sender, e) => Console.WriteLine("Event raised: {0}", e.Value);
     p.RaiseTwo();
 }