I want to use condition expression to choose lambda expression, like that:
xxxx.UsingFactory(
hasProofing? ( ()=>new ProofingA() ) : ( () => new ProofingB() )
);
But, it show me errors. So, if I want to do this thing, How should I do.
Error Detail:
no implicit conversion between 'lambda expression' and 'lambda expression'