jeudi 13 avril 2017

How to set a value to null via reflection?

Quick introduction: I have this object that is created wit default property values and I need to set one int?-Property to null via reflection.

Everything I tried so far resulted in InvalidCastExceptions.





Aucun commentaire:

Enregistrer un commentaire