title: ASP.NET MVC Dynamically set CSS Class to list item based on route
body: <p>I'm looking at the StackOverflow website and I've noticed that there is a <code>Class="youarehere"</code> attribute set to the buttons of active views.  This results in the orange styling instead of the grey styling.</p>
  
  <p>Can anybody tell me how they're doing this?  What's the easiest way to dynamically set the class based on the URL?</p>