C#C
C#3y ago
Pacrombie

❔ C# EventArgs

I'm starting to use System.EventHandler events and I'm just wondering if there is a point to the EventArgs class other than to be inherited for custom args? Like, I'm calling
StartEvent?.Invoke(this, new EventArgs());
and the
new EventArgs()
just seems kind of pointless since its empty. Can I send something through the default EventArgs with a lambda expression or something?
Was this page helpful?