You could also have fixed this by simply specifying the name of the optional parameter you wanted to set:
@Html.ActionLink("Manage List", "Index", htmlAttributes: new { @class = "ManageLink" });
Otherwise, the Razor engine has to try to figure out which overload of the ActionLink
method you're trying to call; sounds like in your case it thought the third argument was for the routeValues
parameter.
This would also work:
@Html.ActionLink("Manage List", "Index", "ControllerNameHere", new { @class = "ManageLink" });