public void SenderMethod() { TestEventArg tt = new TestEventArg(); tt.a = "E"; tt.b = "Q"; tt.c = 1234; Console.WriteLine($"Before Value List : {tt.a}, {tt.b}, {tt.c}"); OnChangedSomething?.Invoke(this, tt); Console.WriteLine($"After Value List : {tt.a}, {tt.b}, {tt.c}"); }
private void Ss_OnChangedSomething(object sender, TestEventArg e) { e.a = "ABCD"; e.b = "aaaa"; e.c = 1000; }