I have come across a very weird problem. I am trying to set a property of a particular object assigning it a value of another project via
/* PropertyInfo.SetValue(object obj, object val, object[] index) */
propertyInfo.SetValue(obj, val, null)
both obj
and val
are reference type but the problem is that I want the value of obj's property
to change when the value of val
changes. But unfortunately this doesn't happen.
Is there any way to achieve what I want to do.
Regards
Umair