What exactly is Reflection ? I've looked at the definition in Help but I
don't find it very helpful! I just stare at it blankly and can't quite
seem to grasp its meaning conceptually. Reflection implies something
reflected. Does anyone have a good cogent description of its meaning ?
Des
I think this can be understood well, just like all the programming
concepts, only by practice,
especially on some meaningful project.
I could tell you I could not live without reflection !
))
Anyway, to start with here is an excercise which will make you
understand it better.
Homework
===========
Take o write a program where you have a serializable class with a
some
<non serialized> fields and some "reference" type fields (not only
value type fields).
Create a dialog form to allow an user editing the field and the
properties of an instance of this class
with a "CANCEL" feature. In other words, if the user "cancels" the
dialog, the object must be
"restored" completely and perfectly to its original state [careful
with non serialized reference values].
Post here your solution for discussion and grade
)
Tommaso