lundi 17 octobre 2016

Print out array of objects to console [on hold]

I have array of object, how can I print its contain to console ?

I need to print the properties and its value.

object[] attrs;
attrs = prop.GetCustomAttributes(true);

I must use reflection but I dont know how to use it.





Aucun commentaire:

Enregistrer un commentaire