I honestly can't see why on earth this doesn't work, but here it goes:
@Html.ActionLink("About", "About", "Home", new { @class = "nav-link" }, null)
This should produce:
<a href="/Home/About" class="nav-link">About</a>
But instead it produces:
<a href="/Home/About?class=nav-link">About</a>
All the annotations for adding a class to an ActionLink, tells me to do it that way. What am I doing wrong?