Click here to Skip to main content
15,883,901 members
Articles / Programming Languages / C#

Dynamically Invoke Generic Methods

Rate me:
Please Sign up or sign in to vote.
5.00/5 (19 votes)
1 Jan 2008GPL32 min read 100.6K   1K   56  
Reflection on generics can be complicated. This article shows how to use the DynamicMethod class to dynamically invoke a generic method.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Team Leader Critical Software
Portugal Portugal
Been working as a developer and team leader for windows platform projects for almost 10 years

I keep a blog at http://wiggythoughts.blogspot.com/

Comments and Discussions