How to create c# dynamic object from reflection [closed]
I have a list of PropertyInfo retrieved from an object. I would like to create a dynamic object or a Json object to serialize, passing all properties from the list with their typed value (not generic object type). How can I do that with reflection?
Aucun commentaire:
Enregistrer un commentaire