A button is rgistered with four delegates. Which delegate will be called first and why ?
puneet4friends@gmail.com wrote: > A button is rgistered with four delegates. Which delegate will be > called first and why ? "Registered"? In what way? Do you mean delegates have been subscribed to the Click event? Or something else? You should be specific about what you mean. As far as the answer goes, you can easily observe the behavior yourself to find out _what_ happens. See the documentation for events and MulticastDelegate for an explanation. Pete
Delegates are essentially linked lists. When you assign a method to a Delegate, it is added to the list. The list is processed in order from first to last. -- HTH, Kevin Spencer Microsoft MVP DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net wrote in message news:1187867678.107723.98480@j4g2000prf.googlegroups.com... >A button is rgistered with four delegates. Which delegate will be > called first and why ? >