I have two events in a class
public event AcquiredDataEvent OnNewAcquiredData;
public delegate void AcquiredDataEvent(int[] newData);
public ScanStartedEvent ScanStarted;
public delegate void ScanStartedEvent();
I just realized that ScanStarted
does not have the keyword event
before it. Most likely the result of a typo by me, though it still works as expected.
What is the difference between the two events if any?