protected virtual void OnAgeChanged(AgeChangedEventArgs e) { if (AgeChanged != null) { AgeChanged(this, e); } }
public static void PrintAge(object sender, AgeChangedEventArgs e) { Console.WriteLine(e.Age); }