c# event with parameter
//EN
The event keyword is used to declare an event in a publisher class.
//FR
Le mot clé event sert à déclarer un événement dans une classe d’éditeur.
public event System.Action myEvent;
myEvent?.Invoke();
public event System.Action<T> myEventWithType;
myEventWithType?.invoke(T);
//You can have several parameters
public event System.Action<T1,T2...T16> myEventWithSeveralTypes;
myEventWithType?.invoke(T1,T2...T16);