Try this:
@helper _href(string url)
{
@VirtualPathUtility.ToAbsolute(url)
}
To use it on a page:
<a href="@_href("~/page.html")">linky</a>
Edit: How I never knew about the built-in Href method is beyond me. You should definitely use that instead.