TommyCarlier said:That's a bad idea. Your delegate has 1 output value. It should be a regular function that RETURNS the output value. The .NET design guidelines state that ref- and out-parameters should only be used if there's no other option.Yggdrasil said:*snip*
Jeez, can't anybody focus on the issue at hand? Of course it's a pointless method signature, but it serves to illustrate the point of how to represent a generic delegate with an out param, which is what the original poster wanted. A technical question gets
a technical answer.
Would you also like to correct my coding standards, because it's considered unnecessary to add the T prefix to the type definitions?