title: get route name in ASP.NET MVC
body: <p>I'm using this code in my view to enumerate routes but I am unable to get route names from Route object.</p>
  
  <p>RouteCollection routes = RouteTable.Routes;
      foreach (RouteBase rb in routes)
      {
          Route route = rb as Route;</p>
  
  <p>So how can I get access to route name?</p>