Given:
delegate void Explicit();
Can I:
public void Test(Explicit d) { Action a; a = d;
I have a scenario where I need to overload a constructor that has:
public MyClass(Expression<Action> a) {}
but the following overload is ambiguous:
public MyClass(Action a) {}
I decided that using an explicit delegate would resolve the ambiguity, but I need to pass that explicit delegate to the action in order to use the existing code.
source share