mardi 7 juillet 2015

Set Value of an Array at Index via reflection (not Property)

I want to set the Value of an Array of a class

 obj[]

via reflection!

e.g.

 obj[2] = aa;

How can I do this via Reflection in CSharp? I can do it for indexed Properties easily, but not for Array Types!





Aucun commentaire:

Enregistrer un commentaire