Get a List of available Enums
<p>I have the enum structure as follows:</p>

<pre><code>public enum MyEnum
{
   One=1,
   Two=2,
   Three=3
}
</code></pre>

<p>Now I want to get a list of <code>MyEnum</code>, i.e., <code>List&lt;MyEnum&gt;</code> that contains all the <code>One</code>, <code>Two</code> <code>Three</code>. <a href="http://stackoverflow.com/questions/782096/convert-listt-to-object">Again</a>, I am looking for a one liner that does the thing. I came out with a LINQ query but it was unsatisfactory because it was a bit too long, I think: </p>

<pre><code>Enum.GetNames(typeof(MyEnum))
                            .Select(exEnum =&gt;
                                (MyEnum)Enum.Parse(typeof(MyEnum), exEnum))
                            .ToList();
</code></pre>

<p>A better suggestion?</p>
