I have selectlist in my controller like this:
var lstCountry = new SelectList(new[]
{
new { ID = "AR", Name = "Argentina"},
new { ID = "AT", Name = "Austria"},
new { ID = "AU", Name = "Australia"},
}, "ID", "Name");
ViewBag.lstC = lstCountry;
return View();
How can I bind the listbox in the view to that lstC?
Thanks!