c# - How can I access unknown typed object's property names -


I use the function that contains the object type parameter I can type this unknown type object To get the name of the properties of How can I do this?

KR,

Dosage

use

  var properties = obj.GetType (). GetProperties ();    

Comments