I have instances of class A and B, and both classes implement a member 'Text'. Is there a way to access member Text in a generic way? I'm hoping for something analogous to the javascript way of simply saying:
instance['Text'] = value;
Note: these two classes unfortunately do not both implement the same interface with a Text member.