Dynamically Calling Methods
page 1 of 7
Published: 29 Apr 2004
Unedited - Community Contributed
This article briefly introduces Reflection to users and how to use it when writing your code. The System.Reflection namespace contains all of the tools needed to provide a view (in code) of any assembly in .NET.
by . .
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 34327/ 78


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.

View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2018 ASPAlliance.com  |  Page Processed at 2018-03-21 1:22:02 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search