Mix between the enum and list
<p>My goal is a little mix between the lists  and enum.</p>

<p>Example when I create a list:</p>

<pre><code>List&lt;string&gt; toto= new List&lt;string&gt;;
toto.add("test1");
toto.add("test2");
</code></pre>

<p>==>but it's not possible to call "test1" like this: toto.test1</p>

<p>With the enum it's possible like this:</p>

<pre><code>public enum toto{
test,test2
}
</code></pre>

<p>but it's not possible of create dynamic an enum in terms of string</p>

<p>an idea for my problem?</p>

<p>Thank for your help</p>
