I use this code in my view to list the routes, but I cannot get the route names from the Route object.
RouteCollection routes = RouteTable.Routes; foreach (RouteBase rb in routes) {Route route = rb as a route;
So how can I access the name of the route?
source
share