Exploring delegates on my way to lambda | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Exploring delegates on my way to lambda

To learn more. I am trying to make a delegate. I want to understand lambda, so I started by making a delegate first https://code.sololearn.com/c5oXNAt6pEM3 Thank to Bagshot, I did it. Now I off to anonymous method and multicast delegates

6th Feb 2018, 9:39 PM
sneeze - avatar
2 Answers
Good job. Delegates can be quite tricky to get your head around. I think it's because I struggle to see practical situations where I'd use them.
6th Feb 2018, 10:26 PM
Bagshot - avatar
+ 1
I find it really hard to get my head arround. If I look simple at a delegate it is a variable that is pointing to a method. But when I have to use it it is more complicated and I get lost. I watched kudenvat today, part 36 https://www.youtube.com/watch?v=D2h46fvQX04 In this video he did something simalair as what I did in my code. That was understandable. But in the next video (part 37) He compares delegates to interfaces. Never tought those two would be similar. So I am lost again.
7th Feb 2018, 9:31 PM
sneeze - avatar