Creating a populated dropdownlist with items in the view

I'm trying to create a dropdownlist that contains a list of items:\[code\]@Html.DropDownList("displayCount", new SelectList( new[] { new SelectListItem { Value = "http://stackoverflow.com/questions/12751142/25", Text = "25" }, new SelectListItem { Value = "http://stackoverflow.com/questions/12751142/50", Text = "50" }, new SelectListItem { Value = "http://stackoverflow.com/questions/12751142/100", Text = "100" }, }));\[/code\]When I look at my dropdownlist, it just has 3 options that say "System.Web.Mvc.SelectListItem"What do I need to do differently here?
 
Back
Top