+ 3

Fun examples of anonymous methods and delegates?

Hey everyone, I'm a massive fan of anonymous methods and delegates and was wondering if anyone would share their code if they have done anything fun or impressive with them. Here's mine: https://code.sololearn.com/ckJo4KdzHkAx/?ref=app Show me what you've got! ; )

5th Sep 2017, 2:47 PM
Laurence Turner
Laurence Turner - avatar
2 Respuestas
+ 1
Hello @Laurence, searching by the Internet I found these URL about anonymous methods and delegates https://www.codeproject.com/Articles/47887/C-Delegates-Anonymous-Methods-and-Lambda-Expressio https://www.tutorialspoint.com/csharp/csharp_anonymous_methods.htm but, could you try to explain it with your own words? Thanks for your clarification.
9th Sep 2017, 7:28 AM
Daniel
Daniel - avatar
+ 1
Hi Daniel, I'm happy to give it a go, there is a lot on there what would you like me to focus on? If you'd like to update your answer with a specific question or questions I'd be more than happy to answer them to the best of my ability, or if you prefer, drop a comment on my code it'll be easier to follow our responses. ; )
11th Sep 2017, 12:32 AM
Laurence Turner
Laurence Turner - avatar