private void C_OnChange(object sender, MyArgs e) { StaticValues.WriteMethodName(MethodBase.GetCurrentMethod()); Console.WriteLine("subscription to event"); }
private void P_OnChange(object sender, MyArgs e) { Console.WriteLine($"Event raised as method: {e.Value}."); }