PropertyInfo myProperty = typeof(ClassName).GetPrope
rty(string
property);
I am able to get the name
myProperty.Name
how to get the value of the property. I am having problems with the GetValue method, this is what I am trying
string propertyValue = string.Empty;
propertyValue = sourceProperty.GetValue(ty
peof(Class
Name), null).ToString();
Start Free Trial