Is it possible to write syntax like - ()() ?

Posted by dotnetdev on Stack Overflow See other posts from Stack Overflow or by dotnetdev
Published on 2010-04-13T20:25:06Z Indexed on 2010/04/13 20:33 UTC
Read the original article Hit count: 102

Filed under:

I read in an ebook somewhere (which I'm desperate to find again), that, by using delegates, it is possible to write code which has syntax as follows:

 ()(); // where delegate proceeds this.

Can anyone provide any details how this would be possible/in what situation this would occur?

Thanks

© Stack Overflow or respective owner

Related posts about c#