So I have a custom event like this:
Work w = new worker()
w.newStatus += new worker.status(addStatus);
w.doWork();
void addStatus(string status)
{
MessageBox.Show(status);
}
and this:
public event status newStatus;
public delegate void status(string status);
public void doWork()
{
newStatus("Work Done");
}
If I were to make "addStatus" an overload, what would I have to do to pass overload parameters without creating a second delegate/event?