I want to have a url link like: /Posts/Post/1#comments
Where: Posts - controller name, Post - action name, 1 - id parameter
I am using following code in my View:
<a href="@Url.Action("Post", "Posts", new { id = @item.PostId + "#comments" })">Comments</a>
As a result I have: /Posts/Post/1%23comments
What to do to pass '#' char instead of "%23"?