mardi 7 septembre 2021

How to cast an object to any type using object.GetType()

I have an object type variable where I want to cast it to its original data type. Data type could be anything (int, enum, class, etc)

(object.GetType())object is not working





Aucun commentaire:

Enregistrer un commentaire