I want to do something in the same spirit of this non-compiling code
public static B operator + (Func<A,B> f, A a) {
return f (a);
}
It there a way to specify the types A and B? I've tried
public static B operator +<A,B> (Func<A,B> f, A a) {
return f (a);
}
but its too good to be true.