how to get private field value by string inside an object without using switch?
<p>say, <code>classA</code> has private field A,B,C,D,E.. I wanna build a private (i belive i cannot do public?) method <code>StringToProperty</code> inside the <code>classA</code> so that <code>StringToProperty("A")</code> returns A.</p>
