I want to test if a URL is part of the routes defined in the `Global.asax`. This is what I have:

```
var TheRequest = HttpContext.Current.Request.Url.AbsolutePath.ToString();
var TheRoutes = System.Web.Routing.RouteTable.Routes;

foreach (var TheRoute in TheRoutes)
{
    if (TheRequest  == TheRoute.Url) //problem here
    {
        RequestIsInRoutes = true;
    }
}

```

The problem is that I can’t extract the URL from the route. What do I need to change?