4 ms·
> And the biggest thing. I can pass it in to a method that already takes a class and not a delegate. One solution is the build a small inventory of "ad-hoc" cl
by noblethrasher 9y ago
> And the biggest thing. I can pass it in to a method that already takes a class and not a delegate.
One solution is the build a small inventory of "ad-hoc" classes that just wrap a delegate (usually a closure), as described here:
https://stackoverflow.com/questions/20703002/does-object-expression-exist-in-c-sharp-like-in-f/20874683#20874683 https://stackoverflow.com/questions/20703002/does-object-exp...