I need a solution
When it is right to use Delegate in Vb.net? I am a bit confused.
Delegates are generally used when there is communication going on between your code and some other external application or code/library. A delegate is the same thing as a callback function.
Delegates are one of those things that are sometimes difficult to understand until you are actually doing something that requires one. If you have a specific problem that you think might require one, why don't you explain it and I'll see if I can demystify it for you.
By the way, you use delegates all the time without knowing it. All the events that you write code for (ie. a mouse click) are delegates. But VB just takes care of the details of setting them up for you as delegates to the operating system. Another way of thinking of delegates are as pointers to functions.
Hope that helps.
Be seen. Boost your question’s priority for more expert views and faster solutions
Tackle projects and never again get stuck behind a technical roadblock.
How it Works
Plans and Pricing
Become an Expert
Who We Are
Join Our Team
Hall of Fame
Experts Exchange, LLC.
All rights reserved. Covered by US Patent.