list of countries in .net mvc 5 code example
Example: list of countries in .net mvc 5
ViewBag.country = from p in CultureInfo.GetCultures(CultureTypes.AllCultures & ~CultureTypes.NeutralCultures).OrderBy(c=>c.Name)
select new SelectListItem
{
Text = p.EnglishName,
Value = p.DisplayName
};