var a = new obj();
var property = a.GetType().GetProperty("DB").GetValue(a,null) as testObject;
Does this mean that the variable propertycontains a reference to the same object that I received in object a, or was a new testObject created that contains the same values?
If this means creating a new object, then how can I get a reference to this property / support area using reflection?
source
share