title: How to set the selected value in EnumDropDownListFor?
body: <p>I'm using MVC 5.2.0 and I'm trying to use the new <code>Html.EnumDropDownListFor</code>. This is how I'm setting the values:</p>
  
  <pre><code>//Model
  public class MyModel {
      public int SelectedEnumId { get; set; }
      public TestEnum MyEnum { get; set; }
  }
  
  //Enum
  public enum TestEnum : int
  {
      name1 = 1,
      name2 = 2
  }
  
  //View
  @Html.EnumDropDownListFor(model =&gt; model.MyEnum,new { @class = "form-control" })
  </code></pre>
  
  <p>This is working and the values are being displayed. But how do I <strong>set the selected value</strong> (SelectedEnumId)?</p>
  
  <p>Normally I would use</p>
  
  <pre><code>//Not enum
  @Html.DropDownListFor(model =&gt; model.SelectedId, new SelectList(Model.myvalues, "Value", "Text"))
  </code></pre>
  
  <p>Is there a way to do this with the new Helper in MVC 5.1-5.2? Or I have to create a Extension method for this?</p>