AndyC wrote:

Ion Todirel wrote:

evildictaitor wrote:


*void.

good answer, you're hired


Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.


And above all, they capture variables (proper lexical closures, in other words)! Comparing with function pointer is useful if and only if the next sentence out of your mouth is "but they're really completely different".