as martin already explained,
adding here,

you could also check Reflection.
herez some explaination for getting the runtime objects.

Reflection


-Paresh