showing error the name st is not in scope on the left side of equals.
consider swapping the expression on either side of equals.
var usr = new List<user_detail>();
usr = (from u in db.Users
join st in db.States on st.State_id equals u.State
select new user_detail()
{
User_id = u.User_id,
Name = u.Name,
State_Name = st.State1,
//State = IEnumerable <string><s.State1>,
Phone = u.Phone,
}).ToList();
// var srv = db.Users.ToList();
return View(usr);