Why is "public event EventHandler cccc" null?
I have a class that
public class Builder
{
public event EventHandler StartedWorking;
public Builder()
{
}
public void Start()
{
StartedWorking(this, eventargobject);
}
}
Does it seem simple and something that I do all the time? Am I missing something obvious or is there something that can cause this?
EDIT:
Does this mean that if I fire an event that is not signed in the client class, I have to check that it is not null?
EDIT-2:
I think I have never had events that never signed and therefore never came across this - you learn something new every day. Sorry for the seemingly stupid question ....
source
share