, . o is object, " MyString, object" - object string, . , , , ... , . " " : " d? , TypeWithString... , , :
TypeWithString tmpD = (TypeWithString) d;
tmpD.MyObject = o;
... , .
, , dynamic object :
string s = "We Want Moshiach Now";
TypeWithString tws = new TypeWithString();
dynamic o = s;
dynamic d = tws;
d.MyString = o;
" " d o :
TypeWithString tmpD = (TypeWithString) d;
string tmpO = (string) o;
tmpD.MyObject = tmpO;