Alternative for viewbag is send the countries object as a model to view and add strogly typed view.
and the code will be ,
public ActionResult DisplayCountries()
{
DAL library = new DAL();
var country = library.GetAllCountry();
return View("DisplayCountries",country);
}
@model Demo.Counties
<ul>
@foreach(var country in Model.Countries)
{
<li>country.Description</li>
}
</ul>