Tuesday, December 30, 2008

Dynamically Using Methods in ASP.NET

There are a lot of little known features in .NET that can sometimes prove useful in the line of duty, calling methods is one of them. Have you ever needed to get more information about a method through code? For example, is it public, what does it belong to, what are it's parameters?

You can do all of this through code and it's quite easy


This article will show you about information stored in a Type as well as the MethodInfo class and how they can be used to look at and even execute a method without actually calling it yourself.

No comments:

Post a Comment