Click here to Skip to main content
15,895,667 members
Articles / Programming Languages / C#

Parameters Flexibility When Late Binding to an Event

Rate me:
Please Sign up or sign in to vote.
3.57/5 (6 votes)
20 Jun 2011CPOL7 min read 21.9K   115   14  
.NET allows binding to an event with a method that has a different signature than that of the published delegate, as long as the return type and the parameter types are derived from those in the published delegate. This article offers a mechanism for allowing this flexibility when late binding to an

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer Ziv systems, Israel
Israel Israel
Starting with Apple IIe BASICA, and working my way through Pascal, Power Builder, Visual basic (and the light office VBA) C, C++, I am now a full stack developer and development manager. Mostly with MS technologies on the server side and javascript(typescript) frameworks on the client side.

Comments and Discussions