sloppycode.net
Method invocation in C#
A very basic example of reflection in C#
Home
›
Code snippets
›
C#
›
Method invocation in C#
Download source
This small app from 2004 was originally written to test method calls in an API (before I realised NUnit existed). It's been stripped down so that it can call methods with string,byte,bool, or int, providing the object has a parameterless constructor.
As with all the old C# code here it's basic and not shrink wrapped.
{Name}
Says:
{Date}
{Text}
› Home
› C#
› Snippets
› Articles
› Tools
› Taglines
› ASP
› Dictionary Object
› FSO
› Unix cheat sheet
› Gaming
› CSS
› Yak
› Umbraco
› About
› Contact
› Privacy
› Projects
› Search
› Sitemap
Buy on Amazon
Buy on Amazon
Buy on Amazon
Buy on Amazon