Is there a way through reflection to get the type of a property without instantiating the class?
I have two string variables, one holding the class name and one holding the property name. I then need to get the property Type (int, string, etc.). I don't want to instantiate the class. Any suggestions? Thanks
Aucun commentaire:
Enregistrer un commentaire