title: System.Enum.GetValues: In C# not the same as in VB?
body: <p>Im trying to convert following line of VB.NET to C#:</p>
  
  <pre><code>Dim langs As New List(Of LanguageEnum)(System.Enum.GetValues(GetType(LanguageEnum)))
  </code></pre>
  
  <p>I ended up with the following translation, which does not work:</p>
  
  <pre><code>List&lt;LanguageEnum&gt; langs = new List&lt;LanguageEnum&gt;(System.Enum.GetValues(typeof(LanguageEnum)));
  </code></pre>
  
  <p>--> "The best overloaded method match {...} has some invalid arguments."
  Even <a href="http://www.developerfusion.com/tools/convert/vb-to-csharp/" rel="nofollow">http://www.developerfusion.com/tools/convert/vb-to-csharp/</a> would give me exactly this translation. What is wrong about it?</p>