Jason/Chip -
Thanks for the replies. The reasoning behind this idea is that templates within the application can contain string representations of instantiated objects and can thus translate them on the fly. (Jason - that is why, although your code works in general, it will not work for me...
Given a class declaration such as:
public class MyClass
{
public System.String prop1 { get; set; }
public System.String prop2 { get; set; }
}
and code like:
MyClass c = new MyClass();
c.prop1 = "Value of property 1";
c.prop2 = "Value of property 2";
System.String s = "MyClass.prop1";
Is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.