Esempio n. 1
0
 static void OnAgeError(object sender, AgeChanged e)
 {
     Console.WriteLine("Error! Incorrect value of age: {0}", e.newAge);
     Console.WriteLine(new string('=', 79));
 }
Esempio n. 2
0
 static void OnAgeChanged(object sender, AgeChanged e)
 {
     Console.WriteLine("OnAgeChanged to {0}", e.newAge);
     Console.WriteLine(new string('=', 79));
 }