Пример #1
0
 private void C_OnChange(object sender, MyArgs e)
 {
     StaticValues.WriteMethodName(MethodBase.GetCurrentMethod());
     Console.WriteLine("subscription to event");
 }
Пример #2
0
 private void P_OnChange(object sender, MyArgs e)
 {
     Console.WriteLine($"Event raised as method: {e.Value}.");
 }