Getting a property reference using reflection

Viewed 3536
var a = new obj();
var property = a.GetType().GetProperty("DB").GetValue(a,null) as testObject;

does this mean that the variable property hold a reference to the the same object that i got in object a , or a new testObject was made that holds the same values?

if this means creating a new object, then how can i get the reference to that property/backing field using reflection?

3 Answers
Related