Get static property by string
<p>I have <code>public static class MyClass</code> which contains many <code>public static string</code> parameters.</p>

<p>Following I have some value</p>

<pre><code>string val = "something";
</code></pre>

<p>Using that <code>val</code> I want to be able to get specified property - like <code>MyClass.something</code>.
How can I do that ?</p>
