PDA

View Full Version : Can anyone explain Delegates in vb.net ?


Brad_1234
Oct15-05, 10:24 PM
In all the examples there is no explanation just code segments.

There is the delegate constructor and somewhere a variable is dimmed to the newly defined delegate type, then a second variable is dimmed, and it somehow works.

The variables most examples use have long names, the instantiated delegate sounds the same, the examples I find just dont explain the concept or how to use them.

Lets say there is a namespace with one class, and a method within that class that I want to call. from another namespace, different class, I want to run a method that can invoke a delegate and run the method in the first class

if there is a good explanation for vb.net delegates? Id appreciate hearing it

thanks