hi all,
i am fearly new to reflection but seems to go good so far. i only have a question and hope you guys can help. With the following line of code:
object oo = mInfo.Invoke(myinst, null);
the 'oo' object is populated with the results that I am after. it holds a list of poeple and each person has name, surname and age. how is it possible now to loop through the oo object(list of 'Person') and get a handle on each of their properties(name, surname and age)?
thanks,
Using reflection to work with list of item in object
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Nov 30, 2010, 4:58 AM EST
Sam HobbsRank #108 · 20.5K reputationPosted Nov 30, 2010, 3:43 PM EST