title: Filling a dropdown list with the names of an enum
body: <p>I have this enum:</p>
  
  <pre><code>public enum LeadSoldCreditReasons
  {
      [Value(Name = "Incorrect contact information")]
      BadContactInfo = 1,
  
      [Value(Name = "Not a Real Person")]
      NotRealPerson  =2,
  
      [Value(Name = "Does not match my filters")]
      FilterMismatch = 3,
  
      [Value(Name = "Seller Never Requested a Quote")]
      QuoteNotRequested = 4,
  
      [Value(Name = "Other")]
      Other = 5
  }
  </code></pre>
  
  <p>First, I'm not sure if I'm doing the <code>Name</code> thing right.  If not, lemme know.</p>
  
  <p>Second, I can fill a dropdown with the enu, values like this:</p>
  
  <pre><code>@Html.DropDownList("CreditReason", EnumHelper.GetSelectList(typeof(LeadSoldCreditReasons)), "Select a Reason", new { @class = "form-control" })
  </code></pre>
  
  <p>But that gets me this:</p>
  
  <pre><code>&lt;select class="form-control" id="MyType" name="MyType"&gt;&lt;option value=""&gt;Select My Type&lt;/option&gt;
      &lt;option value="1"&gt;BadContactInfo&lt;/option&gt;
      &lt;option value="2"&gt;NotRealPerson&lt;/option&gt;
      &lt;option value="3"&gt;FilterMismatch&lt;/option&gt;
      &lt;option value="4"&gt;QuoteNotRequested&lt;/option&gt;
      &lt;option value="5"&gt;Other&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I've tried using <code>Enum.GetName()</code> and Enum.GetNames()`, but I either I'm not doing it right, or this isn't the correct way to get this done.</p>
  
  <p>This:</p>
  
  <pre><code>@Html.DropDownList("CreditReason", EnumHelper.GetSelectList(Enum.GetNames(typeof(LeadSoldCreditReasons))), "Select a Reason", new { @class = "form-control" })
  </code></pre>
  
  <p>Gets me this:</p>
  
  <blockquote>
    <p>Can not convert string[] to System.Type</p>
  </blockquote>
  
  <p>Which I guess makes sense because <code>EnumHelper.GetSelectList()</code> wants a type.</p>
  
  <p>This:</p>
  
  <pre><code>@Html.DropDownList("CreditReason", EnumHelper.GetSelectList(Enum.GetName(typeof(LeadSoldCreditReasons))), "Select a Reason", new { @class = "form-control" })
  </code></pre>
  
  <p>Gets me this:</p>
  
  <blockquote>
    <p>There is no argument given that corresponds to the required formal parameter .. blah blah</p>
  </blockquote>
  
  <p>Which also makes sense because Enum.GetName() needs two parameters, one is the type, and the other is the instance in the type.</p>
  
  <p>I'm kinda out of ideas.</p>