C# Fake Enum TypeInitializationException
<p>I'm trying to create a class that works as a flexible enum.
I came with this idea, with 2 additional static methods that allow me to add new members to that list and get only members from that list.</p>

<pre><code>public class LikeEnum
{
         private static List&lt;LikeEnum&gt; list = new List&lt;LikeEnum&gt;()
         { new LikeEnum("One"), new LikeEnum("Two") };

         private string value;

         private LikeEnum(string value)
         {
               this.value = value;
         }
}
</code></pre>

<p>Unfortunately the List list is only initialized as null so this doesn't work...</p>

<p>Any ideas or suggestions? </p>
