title: XML to dropdown list using LINQ
body: <p>This code below works perfectly without this line: ".Insert(0, new SelectListItem(){Text = "", Value="", Selected = false})"...Basically I am trying to add a blank value to the dropdown, the error I get with this line is "Cannot convert from void to SelectListItem." Any ideas on how to add the blank properly? </p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.itemPost.txtVal,
      new List&lt;SelectListItem&gt;(
          (from node in
               System.Xml.Linq.XDocument.Parse(Model.itemQuestionRowDef.SupportingXML).Descendants("option")
           select new SelectListItem
               {
                   Text = node.Value,
                   Value = node.Attribute("value").Value,
                   Selected = node.Attribute("value").Value == Model.itemPost.txtVal ? true : false
               }
           )
          ).Insert(0, new SelectListItem(){Text = "", Value="", Selected = false}),
      new { @class = "tobeFilled", id = "id_" + Model.counter, Name = "questionLst[" + Model.counter + "]." + "txtVal" })
  </code></pre>