I am declaring an interface and I want to make sure any classes that
implement it implement a delegate. But I am getting a compliler error:
Error 1 'UpdateHandler': interfaces cannot declare types
How do I correctly include a delegate in an interface?
Thanks,
Ron
public interface ICommunicator
{
delegate void UpdateHandler(object sender); <<<< Complier Error
event UpdateHandler UpdateEvent;
string Name{get;}
void Communicate();
void Notify();
}