rachelreese's blog

One Rachii's take on .NET, Phoenix, and some unrelated, potentially completely random things.

Reflection

I posted a question late last week to a couple listserves I'm on:

Given only a string variable containing the name of the property you wish to call, how does one go about calling it? 

The answer came back fivefold nearly immediately: “Use reflection. It's really easy.”  Oh goody, thinkest I, a chance to learn something. 

For those of you who haven't picked it up yet, there's really not much to the concept.  By far the most helpful thing I found, was Bipin Joshi's article covering it, on DotNetBips.com:

Introduction to .NET Reflection

Happy reading!

Comments

Charles M. Carroll said:

http://www.learnasp.com/freebook/learn/cs_firstlib.aspx
has reflectin sample like what you want as well.
# August 10, 2004 5:50 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)