So, I read up on delegates and I am still confused why do we need them in C#?
I mean, what's the point of calling a method indirectly through the use of a delegate when you can call that same method directly?
I am failing to understand the essence of delegates and was hoping someone can give me a real example of their use?
Thanks!
I mean, what's the point of calling a method indirectly through the use of a delegate when you can call that same method directly?
I am failing to understand the essence of delegates and was hoping someone can give me a real example of their use?
Thanks!