I have a method which takes method delegate having parameter
public delegate void RunOperation(object o );
public void Abort(RunOperation operationToRun, object obj)
{
}
public void AllMessages()
{
}
Is it possible to pass AllMessage() as a delegate to Abort() ?
I don't want to create any new delgate for parameterless methods.
Thanks