Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Reflection

Name: Anonymous 2008-11-24 19:00

Can anyone explain in simple terms what the hell "Reflection" is supposed to be?

Professor was too lazy to teach properly.

Name: Anonymous 2008-11-25 13:58

>>10

You could create a reusable component that takes any kind of object, iterates over all the properties of that object, and displays the name of the property and its value to the user.

At runtime the executing code doesn't care about what your objects property names are. It is of no use to the executing code. With reflection, at runtime you can get those names and the properties values by name.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List