var handler = this.classe; if (handler != null) handler.coucou();
devient
classe?.coucou();
var handler = this.PropertyChanged; if (handler != null) handler(e);
devient
PropertyChanged?.Invoke(e);
Member access operators and expressions Archive du 17/04/2020 le 27/04/2020